diff options
author | 2007-09-25 18:45:15 +0400 | |
---|---|---|
committer | 2007-09-25 17:58:52 -0400 | |
commit | 853298bc03ef65e3eb392f5d61265605214ee8fb (patch) | |
tree | 2165b66862034fb53e626eb52075d61e7dc6336e /include/acpi | |
parent | ACPI: suspend: build-fix for CONFIG_SUSPEND=n and CONFIG_HIBERNATION=y (diff) | |
download | linux-853298bc03ef65e3eb392f5d61265605214ee8fb.tar.gz linux-853298bc03ef65e3eb392f5d61265605214ee8fb.tar.bz2 linux-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/acpi')
-rw-r--r-- | include/acpi/acpi_drivers.h | 4 |
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__*/ |