summaryrefslogtreecommitdiff
path: root/drivers/acpi/device_pm.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2016-05-19 16:25:41 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2016-05-20 16:54:01 +0300
commit78a898d0e39513469858de990de83210fee28ee9 (patch)
treed20928a6d52052d58f6751cd584773b372efb4c3 /drivers/acpi/device_pm.c
parent57da0c042f4af52614f4bd1a148155a299ae5cd8 (diff)
downloadlinux-78a898d0e39513469858de990de83210fee28ee9.tar.xz
ACPI / PM: Export acpi_device_fix_up_power()
Drivers that needs acpi_device_fix_up_power(), allow them to be built as modules by exporting this function. Cc: <stable@vger.kernel.org> # 4.5+ Tested-by: Laszlo Fiat <laszlo.fiat@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/device_pm.c')
-rw-r--r--drivers/acpi/device_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c
index cd2c3d6d40e0..993fd31394c8 100644
--- a/drivers/acpi/device_pm.c
+++ b/drivers/acpi/device_pm.c
@@ -319,6 +319,7 @@ int acpi_device_fix_up_power(struct acpi_device *device)
return ret;
}
+EXPORT_SYMBOL_GPL(acpi_device_fix_up_power);
int acpi_device_update_power(struct acpi_device *device, int *state_p)
{