ACPI: Introduce acpi_bus_power_manageable function
commit3737b2b1046900660b42e25c904b85e78139d25b
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 7 Jul 2008 01:30:55 +0000 (7 03:30 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 7 Jul 2008 23:25:02 +0000 (7 16:25 -0700)
treea03ba67b061c44eddca14073e5317b1eb4fc1431
parentc6c4f070a61b2b6e5cd317a5fbf25255878688a2
ACPI: Introduce acpi_bus_power_manageable function

Introduce function acpi_bus_power_manageable() allowing other
(dependent) subsystems to check if ACPI is able to power manage given
device.  This may be useful, for example, for PCI device power
management.

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/acpi/bus.c
include/acpi/acpi_bus.h