aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2018-04-03 11:01:50 +0000
committerAndrew Turner <andrew@FreeBSD.org>2018-04-03 11:01:50 +0000
commit7bc28467ef3260635ad48dd170e04d9ea098c60c (patch)
tree96702bc0f20672d2bb69944fda8a34b2748206e1 /sys/dev/fdt
parentb7b25af06a708aad6d306ba7469b55f92297b623 (diff)
Notes
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/fdt_pinctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdt/fdt_pinctrl.c b/sys/dev/fdt/fdt_pinctrl.c
index 65d9080315c1..0c88e3fa908b 100644
--- a/sys/dev/fdt/fdt_pinctrl.c
+++ b/sys/dev/fdt/fdt_pinctrl.c
@@ -119,7 +119,7 @@ pinctrl_configure_children(device_t pinctrl, phandle_t parent)
int i, nconfigs;
for (node = OF_child(parent); node != 0; node = OF_peer(node)) {
- if (!fdt_is_enabled(node))
+ if (!ofw_bus_node_status_okay(node))
continue;
pinctrl_configure_children(pinctrl, node);
nconfigs = OF_getencprop_alloc(node, "pinctrl-0",