From: Rafael J. Wysocki Date: Mon, 30 Mar 2009 19:46:27 +0000 (+0200) Subject: PCI PM: Make pci_prepare_to_sleep() disable wake-up if needed X-Git-Tag: v2.6.30-rc1~609^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8efb8c76fcdccf5050c0ea059dac392789baaff2;p=pandora-kernel.git PCI PM: Make pci_prepare_to_sleep() disable wake-up if needed If the device is not supposed to wake up the system, ie. when device_may_wakeup(&dev->dev) returns 'false', pci_prepare_to_sleep() should pass 'false' to pci_enable_wake() so that it calls the platform to disable the wake-up capability of the device. Signed-off-by: Rafael J. Wysocki Acked-by: Jesse Barnes --- Reading git-diff-tree failed