diff options
| author | 2019-06-30 13:41:52 +0200 | |
|---|---|---|
| committer | 2019-06-30 13:41:52 +0200 | |
| commit | 28ad4b4e3496871ade868c3d0ecf5c53e4a49041 (patch) | |
| tree | 075f883dfb1cbc1535d6b2348fb700688d83e1a7 /include | |
| parent | PCI: PM: Avoid skipping bus-level PM on platforms without ACPI (diff) | |
| parent | PCI: PM/ACPI: Refresh all stale power state data in pci_pm_complete() (diff) | |
Merge back PCI power management material for v5.3.
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acpi_bus.h | 4 |
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); |
