Hi,
On 11-10-18 19:14, Andy Shevchenko wrote:
On Thu, Oct 11, 2018 at 06:14:42PM +0200, Hans de Goede wrote:
Export acpi_device_get_power() for use by modular build drivers.
non-GPL export is used to be consistent with setter counterpart, right?
Right.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Thanks.
Regards,
Hans
Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
---
Changes in v4:
-New patch in v4 of this patch-set
---
drivers/acpi/device_pm.c | 1 +
1 file changed, 1 insertion(+)
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)
{
--
2.19.0