|
@@ -243,8 +243,6 @@ static void __init cpg_mstp_clocks_init(struct device_node *np)
|
|
}
|
|
}
|
|
CLK_OF_DECLARE(cpg_mstp_clks, "renesas,cpg-mstp-clocks", cpg_mstp_clocks_init);
|
|
CLK_OF_DECLARE(cpg_mstp_clks, "renesas,cpg-mstp-clocks", cpg_mstp_clocks_init);
|
|
|
|
|
|
-
|
|
|
|
-#ifdef CONFIG_PM_GENERIC_DOMAINS_OF
|
|
|
|
int cpg_mstp_attach_dev(struct generic_pm_domain *domain, struct device *dev)
|
|
int cpg_mstp_attach_dev(struct generic_pm_domain *domain, struct device *dev)
|
|
{
|
|
{
|
|
struct device_node *np = dev->of_node;
|
|
struct device_node *np = dev->of_node;
|
|
@@ -326,4 +324,3 @@ void __init cpg_mstp_add_clk_domain(struct device_node *np)
|
|
|
|
|
|
of_genpd_add_provider_simple(np, pd);
|
|
of_genpd_add_provider_simple(np, pd);
|
|
}
|
|
}
|
|
-#endif /* !CONFIG_PM_GENERIC_DOMAINS_OF */
|
|
|