[PATCH v2] PM / Domains: export __pm_genpd_add_device symbol

From: Maruthi Srinivas Bayyavarapu
Date: Tue Nov 17 2015 - 10:48:15 EST


Drivers which can be built as loadable module needs symbol
- pm_genpd_add_device to add devices to genpd.
Those drivers create platform devices, which comes under a powerdomain.

Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@xxxxxxx>
---
drivers/base/power/domain.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index f932058..cfa59e3 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1252,6 +1252,7 @@ int __pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev,

return ret;
}
+EXPORT_SYMBOL_GPL(__pm_genpd_add_device);

/**
* pm_genpd_remove_device - Remove a device from an I/O PM domain.
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/