PCI: Introduce platform_pci_power_manageable function
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 7 Jul 2008 01:32:02 +0000 (03:32 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 7 Jul 2008 23:25:10 +0000 (16:25 -0700)
commit961d9120fa6f078492a1c762dd91f2c097e56c83
treee11955d14d0f777ad5a76b44034f6b3c5281a0bf
parent3737b2b1046900660b42e25c904b85e78139d25b
PCI: Introduce platform_pci_power_manageable function

Introduce function pointer platform_pci_power_manageable to be used
by the platform-related code to point to a function allowing us to
check if given device is power manageable by the platform.

Introduce acpi_pci_power_manageable() playing that role for ACPI.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-acpi.c
drivers/pci/pci.c
drivers/pci/pci.h