diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-07-08 02:05:37 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-19 04:00:36 +0400 |
commit | 0fcb4eef8294492c8f1de8236b1ed81f09e42922 (patch) | |
tree | 23c96ecfc5a85c1870d85c5db9421b6c09763fa8 /include/linux/pm.h | |
parent | 4eb241e5691363c391aac8a5051d0d013188ec84 (diff) | |
download | linux-0fcb4eef8294492c8f1de8236b1ed81f09e42922.tar.xz |
PM / Runtime: Make runtime_status attribute not debug-only (v. 2)
This patch (as1404b) makes the runtime_status sysfs attribute available
even in the absence of CONFIG_PM_ADVANCED_DEBUG, and it changes the
routine to display "unsupported" when runtime PM is disabled for a
device. Although not strictly 100% accurate, this will almost always
be correct.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/linux/pm.h')
0 files changed, 0 insertions, 0 deletions