]> git.baikalelectronics.ru Git - kernel.git/commit
Suspend: Fix compilation warning for CONFIG_SUSPEND unset
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 8 Dec 2007 01:03:26 +0000 (02:03 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:54 +0000 (18:30 -0500)
commitf9c5f16323e6272ba6340b6213fb2666197f79fd
tree6131e028d746b2fc77e53c53285a2e0896491266
parent69005369d52c3e3b99577328b4cb114f6c191903
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