summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/Makefile1
-rw-r--r--drivers/sh/pm_runtime.c9
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 0b6f3d60193d..a7187b999c5e 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -128,7 +128,6 @@ obj-$(CONFIG_SGI_SN) += sn/
128obj-y += firmware/ 128obj-y += firmware/
129obj-$(CONFIG_CRYPTO) += crypto/ 129obj-$(CONFIG_CRYPTO) += crypto/
130obj-$(CONFIG_SUPERH) += sh/ 130obj-$(CONFIG_SUPERH) += sh/
131obj-$(CONFIG_ARCH_SHMOBILE) += sh/
132ifndef CONFIG_ARCH_USES_GETTIMEOFFSET 131ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
133obj-y += clocksource/ 132obj-y += clocksource/
134endif 133endif
diff --git a/drivers/sh/pm_runtime.c b/drivers/sh/pm_runtime.c
index a9bac3bf20de..c887ecdaf19b 100644
--- a/drivers/sh/pm_runtime.c
+++ b/drivers/sh/pm_runtime.c
@@ -34,15 +34,6 @@ static struct pm_clk_notifier_block platform_bus_notifier = {
34 34
35static int __init sh_pm_runtime_init(void) 35static int __init sh_pm_runtime_init(void)
36{ 36{
37 if (IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_ARCH_SHMOBILE)) {
38 if (!of_find_compatible_node(NULL, NULL,
39 "renesas,cpg-mstp-clocks"))
40 return 0;
41 if (IS_ENABLED(CONFIG_PM_GENERIC_DOMAINS_OF) &&
42 of_find_node_with_property(NULL, "#power-domain-cells"))
43 return 0;
44 }
45
46 pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); 37 pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier);
47 return 0; 38 return 0;
48} 39}