diff options
| -rw-r--r-- | drivers/acpi/reboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index 71769fd687b2..6fa9c2a4cfe9 100644 --- a/drivers/acpi/reboot.c +++ b/drivers/acpi/reboot.c | |||
| @@ -8,8 +8,8 @@ void acpi_reboot(void) | |||
| 8 | { | 8 | { |
| 9 | struct acpi_generic_address *rr; | 9 | struct acpi_generic_address *rr; |
| 10 | struct pci_bus *bus0; | 10 | struct pci_bus *bus0; |
| 11 | u8 reset_value; | ||
| 12 | unsigned int devfn; | 11 | unsigned int devfn; |
| 12 | u8 reset_value; | ||
| 13 | 13 | ||
| 14 | if (acpi_disabled) | 14 | if (acpi_disabled) |
| 15 | return; | 15 | return; |
| @@ -40,7 +40,7 @@ void acpi_reboot(void) | |||
| 40 | /* Form PCI device/function pair. */ | 40 | /* Form PCI device/function pair. */ |
| 41 | devfn = PCI_DEVFN((rr->address >> 32) & 0xffff, | 41 | devfn = PCI_DEVFN((rr->address >> 32) & 0xffff, |
| 42 | (rr->address >> 16) & 0xffff); | 42 | (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"); |
| 44 | /* Write the value that resets us. */ | 44 | /* Write the value that resets us. */ |
| 45 | pci_bus_write_config_byte(bus0, devfn, | 45 | pci_bus_write_config_byte(bus0, devfn, |
| 46 | (rr->address & 0xffff), reset_value); | 46 | (rr->address & 0xffff), reset_value); |
