summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-06-30 13:41:52 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-06-30 13:41:52 +0200
commit28ad4b4e3496871ade868c3d0ecf5c53e4a49041 (patch)
tree075f883dfb1cbc1535d6b2348fb700688d83e1a7 /include
parent471a739a47aa7d582f0cdf9d392957d04632bae2 (diff)
parentb51033e06c2ebbad322370f4a35c84488e61b342 (diff)
downloadlinux-28ad4b4e3496871ade868c3d0ecf5c53e4a49041.tar.bz2
Merge back PCI power management material for v5.3.
Diffstat (limited to 'include')
-rw-r--r--include/acpi/acpi_bus.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 31b6c87d6240..4752ff0a9d9b 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -513,6 +513,10 @@ int acpi_device_fix_up_power(struct acpi_device *device);
int acpi_bus_update_power(acpi_handle handle, int *state_p);
int acpi_device_update_power(struct acpi_device *device, int *state_p);
bool acpi_bus_power_manageable(acpi_handle handle);
+int acpi_device_power_add_dependent(struct acpi_device *adev,
+ struct device *dev);
+void acpi_device_power_remove_dependent(struct acpi_device *adev,
+ struct device *dev);
#ifdef CONFIG_PM
bool acpi_bus_can_wakeup(acpi_handle handle);