]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI PM: Register power state of devices during initialization
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 7 Jan 2009 12:10:35 +0000 (13:10 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:18:04 +0000 (11:18 -0800)
commit98e6e286d7b01deb7453b717aa38ebb69d6cefc0
tree3dbaf0cdc71a779f6f1d3bed8f9fd17eeabb97cd
parentad8cfa1defee14a5181d9b63e666318c51cfaeed
PCI PM: Register power state of devices during initialization

Use the observation that the power state of a PCI device can be
loaded into its pci_dev structure as soon as pci_pm_init() is run for
it and make that happen.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c