projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57da0c0
)
ACPI / PM: Export acpi_device_fix_up_power()
author
Ulf Hansson
<ulf.hansson@linaro.org>
Thu, 19 May 2016 13:25:41 +0000
(15:25 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Fri, 20 May 2016 13:54:01 +0000
(15:54 +0200)
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>
drivers/acpi/device_pm.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/device_pm.c
b/drivers/acpi/device_pm.c
index
cd2c3d6
..
993fd31
100644
(file)
--- 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)
{