]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ACPI: reboot.c: use new acpi_reset interface
authorLin Ming <ming.m.lin@intel.com>
Tue, 16 Dec 2008 08:40:31 +0000 (16:40 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 06:15:00 +0000 (01:15 -0500)
Use new acpi_reset interface to write to reset register

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/reboot.c

index b46fe52e96c5cfeeee0707e645c113f8a1f0f046..93f91142d7ad5ca01fc62b8dc16569660cfa0434 100644 (file)
@@ -42,7 +42,7 @@ void acpi_reboot(void)
        case ACPI_ADR_SPACE_SYSTEM_MEMORY:
        case ACPI_ADR_SPACE_SYSTEM_IO:
                printk(KERN_DEBUG "ACPI MEMORY or I/O RESET_REG.\n");
-               acpi_write(reset_value, rr);
+               acpi_reset();
                break;
        }
        /* Wait ten seconds */