Message ID | 20151001143807.20618.67920.sendpatchset@little-apple (mailing list archive) |
---|---|
State | Rejected |
Delegated to: | Geert Uytterhoeven |
Headers | show |
--- 0001/drivers/sh/pm_runtime.c +++ work/drivers/sh/pm_runtime.c 2015-10-01 18:51:47.280513000 +0900 @@ -36,7 +36,10 @@ static int __init sh_pm_runtime_init(voi { if (IS_ENABLED(CONFIG_ARCH_SHMOBILE)) { if (!of_find_compatible_node(NULL, NULL, - "renesas,cpg-mstp-clocks")) + "renesas,cpg-mstp-clocks") && + (IS_ENABLED(CONFIG_PM_GENERIC_DOMAINS_OF) || + !of_find_compatible_node(NULL, NULL, + "renesas,r8a7795-cpg-mssr"))) return 0; if (IS_ENABLED(CONFIG_PM_GENERIC_DOMAINS_OF) && of_find_node_with_property(NULL, "#power-domain-cells"))