PCI PM: Run-time callbacks for PCI bus type
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 17 Feb 2010 22:44:58 +0000 (23:44 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:21:19 +0000 (16:21 -0800)
commit6cbf82148ff286ec22a55be6836c3a5bffc489c1
tree77b1b0097f9c2389d56734ec4c022611aa1bd9db
parent552be54cc4232dc5acc49ccb372129d6f1b6923f
PCI PM: Run-time callbacks for PCI bus type

Introduce run-time PM callbacks for the PCI bus type.  Make the new
callbacks work in analogy with the existing system sleep PM
callbacks, so that the drivers already converted to struct dev_pm_ops
can use their suspend and resume routines for run-time PM without
modifications.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-driver.c
drivers/pci/pci.c
drivers/pci/pci.h
include/linux/pci.h
kernel/power/Kconfig