diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-06-13 00:36:52 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-19 01:58:48 +0200 |
commit | 2430d12c94ff2bafcfe4f65edf7ee5f300d2d9c6 (patch) | |
tree | a904bbe41d973bca7079ea6b9ffd42e080a7798d /include/linux/pnp.h | |
parent | 90133673395849c9d4e66a563f2d0d91d92aa461 (diff) |
PM: describe kernel policy regarding wakeup defaults (v. 2)
This patch (as1381b) updates a comment describing the kernel's policy
toward enabling wakeup by default.
It also makes device_set_wakeup_capable() actually do something when
CONFIG_PM isn't enabled. It's not clear this is necessary; however if
it isn't then device_init_wakeup() and device_can_wakeup() should also
be do-nothing routines. Furthermore, I don't expect this change to
have any noticeable effect -- but if it does then clearly the old
behavior was wrong.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/linux/pnp.h')
0 files changed, 0 insertions, 0 deletions