summaryrefslogtreecommitdiff
path: root/sys/arch/armv7
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-08-23 18:16:07 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-08-23 18:16:07 +0000
commit22d97a631328b13db6d01d497563b74b6275864b (patch)
tree5da0bf09b4729dcb11fdd8e84f1c1adf2571d1c7 /sys/arch/armv7
parentc3425ac9032af5e1b7003424221a5c50efb373be (diff)
The device trees for sun8i and sun9i no longer include an address in the
name of the /soc node. Leave it off, as the device path will still match on nodes that include it.
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r--sys/arch/armv7/sunxi/sxipio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/sunxi/sxipio.c b/sys/arch/armv7/sunxi/sxipio.c
index f6af5101882..c425464f1e9 100644
--- a/sys/arch/armv7/sunxi/sxipio.c
+++ b/sys/arch/armv7/sunxi/sxipio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sxipio.c,v 1.9 2016/08/12 19:55:54 kettenis Exp $ */
+/* $OpenBSD: sxipio.c,v 1.10 2016/08/23 18:16:06 kettenis Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
* Copyright (c) 2013 Artturi Alm
@@ -158,7 +158,7 @@ sxipio_attach(struct device *parent, struct device *self, void *args)
sc->sc_irq = aa->aa_dev->irq[0];
- node = OF_finddevice("/soc@01c00000/pinctrl@01c20800");
+ node = OF_finddevice("/soc/pinctrl@01c20800");
if (node == -1)
panic("sxipio: can't find device tree node");