]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ACPI / PM: Export acpi_device_fix_up_power()
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 19 May 2016 13:25:41 +0000 (15:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jun 2016 19:16:59 +0000 (12:16 -0700)
commit 78a898d0e39513469858de990de83210fee28ee9 upstream.

Drivers that needs acpi_device_fix_up_power(), allow them to be built as
modules by exporting this function.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/device_pm.c

index cd2c3d6d40e03fbc70ef802dd82c4e1ae36c7ef3..993fd31394c854c99e5ce0c2af824f36c50b7a22 100644 (file)
@@ -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)
 {