Revert "ACPI battery: fix async boot oops"
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 11 Apr 2009 19:45:20 +0000 (12:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 11 Apr 2009 19:45:20 +0000 (12:45 -0700)
This reverts commit 5d38258ec026921a7b266f4047ebeaa75db358e5, since the
underlying problem got fixed properly in the previous commit ("async:
Fix module loading async-work regression").

Cc: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/battery.c

index 3c7d8942f23b4dd126d1a8e2145adfa0a1ad499b..b0de6312919a82a455f20f8d06dddd8f1b672d80 100644 (file)
@@ -903,7 +903,7 @@ static struct acpi_driver acpi_battery_driver = {
                },
 };
 
-static void acpi_battery_init_async(void *unused, async_cookie_t cookie)
+static void __init acpi_battery_init_async(void *unused, async_cookie_t cookie)
 {
        if (acpi_disabled)
                return;