diff options
| author | Johannes Berg <[email protected]> | 2007-02-16 01:38:29 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2007-02-23 14:52:09 -0800 |
| commit | 9c372d06ce9ddf65e1393f9ea22a6d6bd5f96b42 (patch) | |
| tree | 24e4b7d7ab60d68426c6c3e2ba976deffb94e575 /include/linux/debugobjects.h | |
| parent | dfe461aef0d621d8472d0af343ae8a60866a7a8a (diff) | |
power management: no valid states w/o pm_ops
Change /sys/power/state to not advertise any valid states (except for disk
if SOFTWARE_SUSPEND is enabled) when no pm_ops have been set so userspace
can easily discover what states should be available.
Signed-off-by: Johannes Berg <[email protected]>
Cc: "Randy.Dunlap" <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Pavel Macheck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions