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)
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>

No differences found