ACPI suspend: Fix compilation warnings in drivers/acpi/sleep.c
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 16 Jan 2009 22:09:14 +0000 (23:09 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 16 Jan 2009 23:15:31 +0000 (18:15 -0500)
commit5d8b532af9e52ea89208f5ef31889f646e67ba28
tree9d1b4a506864bcaacf191dabc1e9823003088995
parent091d71e023557136e96f0e54f301497a3fc95dc3
ACPI suspend: Fix compilation warnings in drivers/acpi/sleep.c

Fix two compilation warnings in drivers/acpi/sleep.c, one triggered
by unsetting CONFIG_SUSPEND and the other triggered by unsetting
CONFIG_HIBERNATION, by moving some code under the appropriate
#ifdefs .

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/acpi/sleep.c
drivers/acpi/sleep.c