summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2015-02-09 16:16:44 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-04-14 14:02:19 -0500
commit0619250809c29e829ca4b82a2e54532bdd21c4ea (patch)
tree1de6de77acac66319d0dca26aa680028433321fe /include
parent55f0a1f069ce182fe5c1d83c04d80666e0a21bc5 (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 */