Skip to content

Commit

Permalink
Revert "ACPI battery: fix async boot oops"
Browse files Browse the repository at this point in the history
This reverts commit 5d38258, 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>
  • Loading branch information
Linus Torvalds committed Apr 11, 2009
1 parent d6de2c8 commit b0cbc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b0cbc86

Please sign in to comment.