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 09:48:53 +0800
commite599f64de890a60a3b9884dd5838c43472f145e2 (patch)
tree4bb4afd91cc1a1837f10c9931e50f7313743d2e4 /include
parentff54dfe85b3f3404d35df5dd73c306ce6c999e67 (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>
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 */