summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2007-09-25 18:45:15 +0400
committerLen Brown <len.brown@intel.com>2007-09-25 17:58:52 -0400
commit853298bc03ef65e3eb392f5d61265605214ee8fb (patch)
tree2165b66862034fb53e626eb52075d61e7dc6336e /include
parent2f3f22269bdf702311342c5d106dfdd7347d1c3e (diff)
downloadlinux-stable-853298bc03ef65e3eb392f5d61265605214ee8fb.tar.gz
linux-stable-853298bc03ef65e3eb392f5d61265605214ee8fb.tar.bz2
linux-stable-853298bc03ef65e3eb392f5d61265605214ee8fb.zip
ACPI: CONFIG_ACPI_SLEEP=n power off regression in 2.6.23-rc8 (NOT in rc7)
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/acpi/acpi_drivers.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h
index 202acb9ff4d0..f85f77a538aa 100644
--- a/include/acpi/acpi_drivers.h
+++ b/include/acpi/acpi_drivers.h
@@ -147,10 +147,6 @@ static inline void unregister_hotplug_dock_device(acpi_handle handle)
/*--------------------------------------------------------------------------
Suspend/Resume
-------------------------------------------------------------------------- */
-#ifdef CONFIG_ACPI_SLEEP
extern int acpi_sleep_init(void);
-#else
-static inline int acpi_sleep_init(void) { return 0; }
-#endif
#endif /*__ACPI_DRIVERS_H__*/