summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-07-10 21:47:07 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-10 21:47:07 +0200
commit8951ef021904752a843a81fee785f1b180f31c07 (patch)
treee15230eab3498f74fadc2324d8489c67acf2a2e6 /drivers/base
parent62d4490294e3de7015f715c00af992d7b6a6e22c (diff)
downloadop-kernel-dev-8951ef021904752a843a81fee785f1b180f31c07.zip
op-kernel-dev-8951ef021904752a843a81fee785f1b180f31c07.tar.gz
PM / Domains: Add missing static storage class specifier in domain.c file
Fixes the folloiwng sparse warning: drivers/base/power/domain.c:149:5: warning: symbol '__pm_genpd_poweron' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 9727bc5..4f8e0d2 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -159,7 +159,7 @@ static void genpd_recalc_cpu_exit_latency(struct generic_pm_domain *genpd)
* Restore power to @genpd and all of its masters so that it is possible to
* resume a device belonging to it.
*/
-int __pm_genpd_poweron(struct generic_pm_domain *genpd)
+static int __pm_genpd_poweron(struct generic_pm_domain *genpd)
__releases(&genpd->lock) __acquires(&genpd->lock)
{
struct gpd_link *link;
OpenPOWER on IntegriCloud