summaryrefslogtreecommitdiff
path: root/drivers/acpi/internal.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-05-10 14:02:17 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-05-10 14:02:17 +0200
commit29038ae2ae566d9441e81cda3539db17c20bf06a (patch)
treea281388cac429863a03305dba2c99cae11fb81a4 /drivers/acpi/internal.h
parent5db91e9cb5b3f645a9540d2ab67a19e464d89754 (diff)
downloadlinux-29038ae2ae566d9441e81cda3539db17c20bf06a.tar.gz
Revert "Revert "ACPI: scan: Turn off unused power resources during initialization""
Revert commit 5db91e9cb5b3 ("Revert "ACPI: scan: Turn off unused power resources during initialization") which was not necessary. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r--drivers/acpi/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h
index e6a5d997241c..9fcefcdc1dbe 100644
--- a/drivers/acpi/internal.h
+++ b/drivers/acpi/internal.h
@@ -139,6 +139,7 @@ int acpi_device_sleep_wake(struct acpi_device *dev,
int acpi_power_get_inferred_state(struct acpi_device *device, int *state);
int acpi_power_on_resources(struct acpi_device *device, int state);
int acpi_power_transition(struct acpi_device *device, int state);
+void acpi_turn_off_unused_power_resources(void);
/* --------------------------------------------------------------------------
Device Power Management