aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-07-10 04:39:14 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2011-07-10 04:39:14 -0400
commit18b4f3f5d058b590e7189027eeb5d897742ade0a (patch)
tree8cc1c52f77e218593fc8cea275f57b6ba5e4076b /drivers/base
parentb9416f03fd9f809225a90f63b2fbc86f90010eab (diff)
PM / Domains: Export pm_genpd_poweron() in header
Allow SoC-specific code to call pm_genpd_poweron(). Signed-off-by: Magnus Damm <damm@opensource.se> 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 1aed94c73cfc..1f1a7d85f29d 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -37,7 +37,7 @@ static void genpd_sd_counter_dec(struct generic_pm_domain *genpd)
37 * Restore power to @genpd and all of its parents so that it is possible to 37 * Restore power to @genpd and all of its parents so that it is possible to
38 * resume a device belonging to it. 38 * resume a device belonging to it.
39 */ 39 */
40static int pm_genpd_poweron(struct generic_pm_domain *genpd) 40int pm_genpd_poweron(struct generic_pm_domain *genpd)
41{ 41{
42 int ret = 0; 42 int ret = 0;
43 43