sky2: Fix WOL regression
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 13 Oct 2008 03:59:48 +0000 (20:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Oct 2008 03:59:48 +0000 (20:59 -0700)
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
sky2_set_wol().

Remove an open-coded reference to the standard PCI PM registers that
is not used any more.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found