summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-11-07 20:30:37 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-12-05 10:55:21 -0800
commitc164920debff5120d187cb2a09a9179096f4eea7 (patch)
treee3353053488614898b2e91b2d8a94f45f7aa6105 /include/linux
parent446861fd5d935b15d3ba5e5d46e4acafaf3c0a86 (diff)
igb: Use device_set_wakeup_enable
commit e1b86d8479f90aadee57a3d07d8e61c815c202d9 upstream. 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 igb_set_wol(). Accordingly, use device_can_wakeup() for checking if wake-up is supported by the device. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions