From: Rafael J. Wysocki Date: Mon, 13 Oct 2008 03:59:48 +0000 (-0700) Subject: sky2: Fix WOL regression X-Git-Tag: v2.6.27.2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0018d3e671060d5576fe99a2fe1985db4b1ea946;p=pandora-kernel.git sky2: Fix WOL regression commit 9d731d77c9794bb0a264f58d35949a1ab6dcc41c 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 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 Cc: Tino Keitel Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed