summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorArto Merilainen <amerilainen@nvidia.com>2014-03-27 08:39:38 +0200
committerTerje Bergstrom <tbergstrom@nvidia.com>2014-04-10 23:12:04 -0700
commit0bf857ab9b2fce53a936e59afee5db66720c6ead (patch)
tree23288a5f95ef0cd0fb0107aeb7208c712a35643a /drivers/base
parent71e374b9e329244765d4d8a6745b41f2f91118bb (diff)
PM/Domain: Export pm_genpd symbols
Drivers compiled as modules may need to access some genpd functions directly. This patch adds few new bindings that have been found useful. Bug 1476801 Change-Id: I19807977147d334f88be6b582e1cd0eb06854f12 Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/387607 GVS: Gerrit_Virtual_Submit Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/domain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 37cf43d77ebd..631277211438 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1683,6 +1683,7 @@ int __pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev,
return ret;
}
+EXPORT_SYMBOL(__pm_genpd_add_device);
/**
* __pm_genpd_of_add_device - Add a device to an I/O PM domain.
@@ -2416,7 +2417,7 @@ void pm_genpd_init(struct generic_pm_domain *genpd,
list_add(&genpd->gpd_list_node, &gpd_list);
mutex_unlock(&gpd_list_lock);
}
-
+EXPORT_SYMBOL(pm_genpd_init);
#ifdef CONFIG_DEBUG_FS
/* Genpd status debugfs */
static int genpd_status_show(struct seq_file *s, void *data)