PCI: include linux/pm_wakeup.h for device_set_wakeup_capable
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 10 Jul 2008 00:16:44 +0000 (02:16 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 14 Jul 2008 21:30:21 +0000 (14:30 -0700)
commitc300bd2fb583afb6d68804afd38bc90b31310d95
treeb515c200eaaedb2525a70aa26f71469e084f1549
parentc157dfa3e4aea5775389f2f4d53c040bc8813af1
PCI: include linux/pm_wakeup.h for device_set_wakeup_capable

drivers/pci/pci.c needs pm_wakeup.h since it uses device_set_wakup_capable().
The latter also needs to be stubbed out for !CONFIG_PM.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c
include/linux/pm_wakeup.h