PM / Wakeup: Fix build warning related to the "wakeup" sysfs file
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 7 May 2011 16:11:52 +0000 (18:11 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 17 May 2011 21:19:18 +0000 (23:19 +0200)
commite762318baae3002944d68220910aef7caffcd065
tree01da9af1ae09f6723a3a5da06e452aba4c364817
parenta144c6a6c924aa1da04dd77fb84b89927354fdff
PM / Wakeup: Fix build warning related to the "wakeup" sysfs file

The "wakeup" device sysfs file is only created if CONFIG_PM_SLEEP
is set, so put it under CONFIG_PM_SLEEP and make a build warning
related to it go away.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/sysfs.c