linux/drivers/base/power
Alan Stern d288e47c47 PM: Make wakeup flags available whenever CONFIG_PM is set
The various wakeup flags and their accessor macros in struct
dev_pm_info should be available whenever CONFIG_PM is enabled, not
just when CONFIG_PM_SLEEP is on.  Otherwise remote wakeup won't always
be configurable for runtime power management.  This patch (as1056b)
fixes the oversight.

David Brownell adds:
	More accurately, fixes the "regression" ... as noted sometime
	last summer, after 296699de6b
	introduced CONFIG_SUSPEND.  But that didn't make the regression
	list for that kernel, ergo the delay in fixing it.

[rjw: rebased]

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-19 19:10:25 -07:00
..
main.c PM: Make wakeup flags available whenever CONFIG_PM is set 2008-04-19 19:10:25 -07:00
Makefile PM: Make PM_TRACE more architecture independent 2008-02-01 18:30:54 -05:00
power.h PM: Handle device registrations during suspend/resume 2008-04-19 19:10:24 -07:00
sysfs.c PM: Make wakeup flags available whenever CONFIG_PM is set 2008-04-19 19:10:25 -07:00
trace.c pm_trace displays the wrong time from the RTC 2007-10-18 14:37:19 -07:00