Skip to content

Commit dd73e72

Browse files
laszlothrafaeljw
authored andcommitted
ACPI: add missing newline to printk
...and restore reverse xmas tree while at it. Signed-off-by: Laszlo Toth <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 6da6c0d commit dd73e72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/acpi/reboot.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ void acpi_reboot(void)
88
{
99
struct acpi_generic_address *rr;
1010
struct pci_bus *bus0;
11-
u8 reset_value;
1211
unsigned int devfn;
12+
u8 reset_value;
1313

1414
if (acpi_disabled)
1515
return;
@@ -40,7 +40,7 @@ void acpi_reboot(void)
4040
/* Form PCI device/function pair. */
4141
devfn = PCI_DEVFN((rr->address >> 32) & 0xffff,
4242
(rr->address >> 16) & 0xffff);
43-
printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG.");
43+
printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG.\n");
4444
/* Write the value that resets us. */
4545
pci_bus_write_config_byte(bus0, devfn,
4646
(rr->address & 0xffff), reset_value);

0 commit comments

Comments
 (0)