summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/mv/common.c')
-rw-r--r--sys/arm/mv/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/mv/common.c b/sys/arm/mv/common.c
index c7beae8..06104f1 100644
--- a/sys/arm/mv/common.c
+++ b/sys/arm/mv/common.c
@@ -1766,7 +1766,7 @@ win_cpu_from_dt(void)
if (fdt_is_compatible(node, "mrvl,cesa-sram"))
goto moveon;
- if ((node = OF_finddevice("/")) != -1)
+ if ((node = OF_finddevice("/")) == -1)
return (ENXIO);
if ((node = fdt_find_compatible(node, "mrvl,cesa-sram", 0)) == 0)
OpenPOWER on IntegriCloud