projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers: sh: Restore legacy clock domain on SuperH platforms
[cascardo/linux.git]
/
drivers
/
sh
/
pm_runtime.c
diff --git
a/drivers/sh/pm_runtime.c
b/drivers/sh/pm_runtime.c
index
91a0030
..
a9bac3b
100644
(file)
--- a/
drivers/sh/pm_runtime.c
+++ b/
drivers/sh/pm_runtime.c
@@
-34,7
+34,7
@@
static struct pm_clk_notifier_block platform_bus_notifier = {
static int __init sh_pm_runtime_init(void)
{
- if (IS_ENABLED(CONFIG_ARCH_SHMOBILE)) {
+ if (IS_ENABLED(CONFIG_
OF) && IS_ENABLED(CONFIG_
ARCH_SHMOBILE)) {
if (!of_find_compatible_node(NULL, NULL,
"renesas,cpg-mstp-clocks"))
return 0;