Suspend: Fix compilation warning for CONFIG_SUSPEND unset
commit2ed43b63285c394cb5e1829c199cc94c7b8233b9
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 8 Dec 2007 01:03:26 +0000 (8 02:03 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:54 +0000 (1 18:30 -0500)
tree6131e028d746b2fc77e53c53285a2e0896491266
parent825257569350e913bee3bc918508c0aa6e3398cd
Suspend: Fix compilation warning for CONFIG_SUSPEND unset

Suspend: Make debug facility depend on CONFIG_SUSPEND

Make the new suspend debug facility code depend on CONFIG_SUSPEND,
as appropriate, to remove the compiler warning printed when CONFIG_PM is set
and CONFIG_SUSPEND is not set.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
kernel/power/main.c