From: \"Rafael J. Wysocki\ Date: Fri, 7 Nov 2008 20:30:19 +0000 (+0000) Subject: e1000: Use device_set_wakeup_enable X-Git-Tag: v2.6.28-rc6~62^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1264896c8012a261c1cba17e6a61199c276ad3;p=pandora-kernel.git e1000: Use device_set_wakeup_enable Since dev->power.should_wakeup bit is used by the PCI core to decide whether the device should wake up the system from sleep states, set/unset this bit whenever WOL is enabled/disabled using e1000_set_wol(). Accordingly, use device_can_wakeup() for checking if wake-up is supported by the device. Signed-off-by: "Rafael J. Wysocki" Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed