Browse Source

ACPI / PM: Export acpi_device_get_power() for use by modular build drivers

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>
Hans de Goede 6 years ago
parent
commit
fe650c8ba7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/acpi/device_pm.c

+ 1 - 0
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)
 {