From: Alan Stern Date: Sat, 12 Jun 2010 22:36:52 +0000 (+0200) Subject: PM: describe kernel policy regarding wakeup defaults (v. 2) X-Git-Tag: v2.6.36-rc1~577^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2430d12c94ff2bafcfe4f65edf7ee5f300d2d9c6;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed