diff options
author | 2016-08-23 18:16:06 +0000 | |
---|---|---|
committer | 2016-08-23 18:16:06 +0000 | |
commit | 81868b77d18ba88ca989fc88bea4600bab81ddab (patch) | |
tree | f823dcefd34883de60cfa9a0d5eb0bb0403ee85f | |
parent | Actually make fdt_find_node() return NULL if the node couldn't be found. (diff) | |
download | wireguard-openbsd-81868b77d18ba88ca989fc88bea4600bab81ddab.tar.xz wireguard-openbsd-81868b77d18ba88ca989fc88bea4600bab81ddab.zip |
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.
-rw-r--r-- | sys/arch/armv7/sunxi/sxipio.c | 4 |
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"); |