ACPI / PM: Export acpi_device_get_power() for use by modular build drivers
authorHans de Goede <hdegoede@redhat.com>
Fri, 12 Oct 2018 10:12:24 +0000 (12:12 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 12 Oct 2018 10:29:48 +0000 (12:29 +0200)
Export acpi_device_get_power() for use by modular build drivers.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/acpi/device_pm.c

index a7c2673ffd36e8a8287a40182fae189e6b71688e..824ae985ad93bebacbb70010e2e2c632a3d143a8 100644 (file)
@@ -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)
 {