diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-10-12 12:12:24 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2018-10-12 12:29:48 +0200 |
commit | fe650c8ba7c9dde2816d09e335b0be37757e49df (patch) | |
tree | 94e0866f8619f07afbcc78c6f17fd49f2344e74b /drivers/acpi/device_pm.c | |
parent | f31fb2fe1ea4a03279c538612e7ecf0e5017639a (diff) |
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>
Diffstat (limited to 'drivers/acpi/device_pm.c')
-rw-r--r-- | drivers/acpi/device_pm.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |