[ACPI] ACPI poweroff fix

Register an "acpi" system device to be notified of shutdown preparation.
This depends on CONFIG_PM

http://bugzilla.kernel.org/show_bug.cgi?id=4041

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Alexey Starikovskiy
2005-03-18 16:20:46 -05:00
committed by Len Brown
parent be91492ca8
commit e2a5b420f7
5 changed files with 107 additions and 53 deletions

View File

@@ -22,7 +22,6 @@
#include <linux/string.h>
#include <linux/pm.h>
extern struct subsystem devices_subsys;
#define to_sysdev(k) container_of(k, struct sys_device, kobj)