From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f171.google.com ([209.85.217.171]:34184 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754356AbcESNZz (ORCPT ); Thu, 19 May 2016 09:25:55 -0400 Received: by mail-lb0-f171.google.com with SMTP id n11so24570544lbh.1 for ; Thu, 19 May 2016 06:25:54 -0700 (PDT) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson , Adrian Hunter , "Rafael J. Wysocki" , Len Brown Cc: linux-acpi@vger.kernel.org, Laszlo Fiat , Nicholas Krause , Subject: [PATCH 1/2] ACPI / PM: Export acpi_device_fix_up_power() Date: Thu, 19 May 2016 15:25:41 +0200 Message-Id: <1463664342-19209-1-git-send-email-ulf.hansson@linaro.org> Sender: stable-owner@vger.kernel.org List-ID: Drivers that needs acpi_device_fix_up_power(), allow them to be built as modules by exporting this function. Cc: # 4.5+ Tested-by: Laszlo Fiat Signed-off-by: Ulf Hansson --- Rafael/Len, if you are okay with using acpi_device_fix_up_power() as a fix for an issue in patch 2/2, then I would like to request an ack so I can take both these patches via my MMC tree. --- 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 cd2c3d6..993fd31 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c @@ -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) { -- 1.9.1