summaryrefslogtreecommitdiffstats
path: root/kernel/power/main.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-06-13 00:36:52 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2010-07-19 01:58:48 +0200
commit2430d12c94ff2bafcfe4f65edf7ee5f300d2d9c6 (patch)
treea904bbe41d973bca7079ea6b9ffd42e080a7798d /kernel/power/main.c
parentPM / Hibernate: Fix typos in comments in kernel/power/swap.c (diff)
downloadlinux-2430d12c94ff2bafcfe4f65edf7ee5f300d2d9c6.tar.xz
linux-2430d12c94ff2bafcfe4f65edf7ee5f300d2d9c6.zip
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 'kernel/power/main.c')
0 files changed, 0 insertions, 0 deletions