summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorAlexey Starikovskiy <alexey.y.starikovskiy@intel.com>2005-03-18 21:20:46 (GMT)
committerLen Brown <len.brown@intel.com>2005-07-12 03:20:49 (GMT)
commite2a5b420f716cd1a46674b1a90389612eced916f (patch)
tree96f363f2e402d53428c046269514a82856b0cb34 /drivers/base
parentbe91492ca871e58f61b517cfba541095bb60001c (diff)
downloadlinux-e2a5b420f716cd1a46674b1a90389612eced916f.tar.xz
[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>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/sys.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/sys.c b/drivers/base/sys.c
index 9102e37..5474bf9 100644
--- a/drivers/base/sys.c
+++ b/drivers/base/sys.c
@@ -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)