summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki2019-06-30 13:41:52 +0200
committerRafael J. Wysocki2019-06-30 13:41:52 +0200
commit28ad4b4e3496871ade868c3d0ecf5c53e4a49041 (patch)
tree075f883dfb1cbc1535d6b2348fb700688d83e1a7 /include/acpi
parentPCI: PM: Avoid skipping bus-level PM on platforms without ACPI (diff)
parentPCI: PM/ACPI: Refresh all stale power state data in pci_pm_complete() (diff)
downloadkernel-qcow2-linux-28ad4b4e3496871ade868c3d0ecf5c53e4a49041.tar.gz
kernel-qcow2-linux-28ad4b4e3496871ade868c3d0ecf5c53e4a49041.tar.xz
kernel-qcow2-linux-28ad4b4e3496871ade868c3d0ecf5c53e4a49041.zip
Merge back PCI power management material for v5.3.
Diffstat (limited to 'include/acpi')
-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);