Skip to content

Commit

Permalink
ACPI / PM: Export acpi_device_fix_up_power()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ulf Hansson committed May 20, 2016
1 parent 57da0c0 commit 78a898d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/acpi/device_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 78a898d

Please sign in to comment.