summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2015-02-09 16:16:44 +0800
committerRobin Gong <b38343@freescale.com>2015-02-11 13:07:28 +0800
commitff13216910de9e33fadf3eabeb921b97fddcb934 (patch)
tree5ada230b5cac46292df7d22400f4c7a8f392d04d /include
parent1794fd3c6a2586279a80d1aa580981cdc492ac38 (diff)
MLK-10238-1: Revert "base: power: Add generic OF-based power domain look-up"
This reverts commit 4aa055cb0634bc8d0389070104fe6aa7cfa99b8c. Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit e599f64de890a60a3b9884dd5838c43472f145e2)
Diffstat (limited to 'include')
-rw-r--r--include/linux/pm_domain.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index 04473d4e0aa3..7c1d252b20c0 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -310,50 +310,4 @@ static inline void pm_genpd_syscore_poweron(struct device *dev)
pm_genpd_syscore_switch(dev, false);
}
-/* OF power domain providers */
-struct of_device_id;
-
-struct genpd_onecell_data {
- struct generic_pm_domain **domains;
- unsigned int domain_num;
-};
-
-typedef struct generic_pm_domain *(*genpd_xlate_t)(struct of_phandle_args *args,
- void *data);
-
-#ifdef CONFIG_PM_GENERIC_DOMAINS_OF
-int of_genpd_add_provider(struct device_node *np, genpd_xlate_t xlate,
- void *data);
-void of_genpd_del_provider(struct device_node *np);
-
-struct generic_pm_domain *of_genpd_xlate_simple(
- struct of_phandle_args *genpdspec,
- void *data);
-struct generic_pm_domain *of_genpd_xlate_onecell(
- struct of_phandle_args *genpdspec,
- void *data);
-
-int genpd_bind_domain(struct device *dev);
-int genpd_unbind_domain(struct device *dev);
-#else /* !CONFIG_PM_GENERIC_DOMAINS_OF */
-static inline int of_genpd_add_provider(struct device_node *np,
- genpd_xlate_t xlate, void *data)
-{
- return 0;
-}
-static inline void of_genpd_del_provider(struct device_node *np) {}
-
-#define of_genpd_xlate_simple NULL
-#define of_genpd_xlate_onecell NULL
-
-static inline int genpd_bind_domain(struct device *dev)
-{
- return 0;
-}
-static inline int genpd_unbind_domain(struct device *dev)
-{
- return 0;
-}
-#endif /* CONFIG_PM_GENERIC_DOMAINS_OF */
-
#endif /* _LINUX_PM_DOMAIN_H */