From patchwork Thu May 19 13:25:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 68127 Delivered-To: patches@linaro.org Received: by 10.140.92.199 with SMTP id b65csp3202395qge; Thu, 19 May 2016 06:25:53 -0700 (PDT) X-Received: by 10.112.61.39 with SMTP id m7mr4633100lbr.72.1463664353314; Thu, 19 May 2016 06:25:53 -0700 (PDT) Return-Path: Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com. [2a00:1450:4010:c04::22c]) by mx.google.com with ESMTPS id e18si5277578lfg.36.2016.05.19.06.25.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 May 2016 06:25:53 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c04::22c as permitted sender) client-ip=2a00:1450:4010:c04::22c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c04::22c as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-lb0-x22c.google.com with SMTP id ww9so24562133lbc.2 for ; Thu, 19 May 2016 06:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=lwPyurVHCOfJi0qvaYW/utQ+OmISBsEzFamsVQIO6tg=; b=jxUgi1Nuxno2fmZUw0TjJgmgheeF5wFtfyT1HO8GcfKM+xOOguffawlSSXaXY9+ijD VvvFQddkqoSjhy63Zw1T4Gj4JvZfAChylVsajYRGNKXB8gB18o++pl2FjOyil+ns2BjL HmVcbcxekIdP1uG9PviXTa/Sy8HYEH4DIKFWY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lwPyurVHCOfJi0qvaYW/utQ+OmISBsEzFamsVQIO6tg=; b=eU4Gjhyvl4cqjiugzKtW6g0Pj5S8rBsyLQTkxNmaxVz5lk2mWatmwghmbXx47iO/rH eui/4ijU/AgJu3jUTMyAieX+UteOkjlYdcA1eGXUhTEojKGh20Wtnp9AL7aEjsnemjvB Q2NzCqXztPUOzuNRPEae+QmjRyG9cGPkbG8QJGLLbK3BwD2fAke9Qf2jEjpA7V1Iuwu/ 97jTqqrLT9gPymygAY3Ke5mLpDYfnIoNhFJbRB3x/G95k+O+EsXTjhVFA2SV9NRFhXYh v8qCOh9q2M60l6axuS95JGbk1G0kAP/CEmazEPb4shkoImhSySyC9JWBWZYxWY4u1Qe9 J7pg== X-Gm-Message-State: AOPr4FU7CqjgZ4lGbgd1T7tGuHLPd4174NR3zArcqReyoJ0bkpbZFOvbhYmcwLYV2QcngnOfsk8= X-Received: by 10.112.55.202 with SMTP id u10mr4623602lbp.45.1463664352900; Thu, 19 May 2016 06:25:52 -0700 (PDT) Return-Path: Received: from uffe-Latitude-E6430s.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id n37sm2435480lfg.46.2016.05.19.06.25.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 May 2016 06:25:51 -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> X-Mailer: git-send-email 1.9.1 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(+) -- 1.9.1 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) {