ACPI / PM: Export acpi_device_get_power() for use by modular build drivers

Export acpi_device_get_power() for use by modular build drivers.

Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
Hans de Goede
2018-10-12 12:29:48 +02:00
committed by Thierry Reding
parent f31fb2fe1e
commit fe650c8ba7
+1
View File
@@ -126,6 +126,7 @@ int acpi_device_get_power(struct acpi_device *device, int *state)
return 0;
}
EXPORT_SYMBOL(acpi_device_get_power);
static int acpi_dev_pm_explicit_set(struct acpi_device *adev, int state)
{