summaryrefslogtreecommitdiff
path: root/arch/arm/mach-hisi/platmcpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-hisi/platmcpm.c')
-rw-r--r--arch/arm/mach-hisi/platmcpm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-hisi/platmcpm.c b/arch/arm/mach-hisi/platmcpm.c
index a6c117622d67..f66815c3dd07 100644
--- a/arch/arm/mach-hisi/platmcpm.c
+++ b/arch/arm/mach-hisi/platmcpm.c
@@ -279,6 +279,8 @@ static int __init hip04_smp_init(void)
&hip04_boot_method[0], 4);
if (ret)
goto err;
+
+ ret = -ENODEV;
np_sctl = of_find_compatible_node(NULL, NULL, "hisilicon,sysctrl");
if (!np_sctl)
goto err;