PM: Fix build issue in main.c for CONFIG_PM_SLEEP unset
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 11 Aug 2011 20:38:12 +0000 (22:38 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 16 Oct 2011 21:27:46 +0000 (23:27 +0200)
commitca123102f69fb260221502ade9bbc069290fae84
treebddbe802fcfd6b0434e26bffea76bd839fdb2666
parent2a77c46de1e3dace73745015635ebbc648eca69c
PM: Fix build issue in main.c for CONFIG_PM_SLEEP unset

Suspend statistics should depend on CONFIG_PM_SLEEP, so make that
happen.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/main.c