From: Hans de Goede Date: Fri, 12 Oct 2018 10:12:24 +0000 (+0200) Subject: ACPI / PM: Export acpi_device_get_power() for use by modular build drivers X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fe650c8ba7c9dde2816d09e335b0be37757e49df;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Rafael J. Wysocki Signed-off-by: Hans de Goede Signed-off-by: Thierry Reding --- diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index a7c2673ffd36..824ae985ad93 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c @@ -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) {