aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/uart/uart_bus_fdt.c
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-11-11 15:42:12 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-11-11 15:42:12 +0000
commita2696bf3c03d34fe898f0b28fa88e62e18673270 (patch)
treed4d8d09c1dc3336b1aa486554451d52a8430e084 /sys/dev/uart/uart_bus_fdt.c
parentf1cd40a19d866e7d29227ad92ff47776bcf509b6 (diff)
Notes
Diffstat (limited to 'sys/dev/uart/uart_bus_fdt.c')
-rw-r--r--sys/dev/uart/uart_bus_fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_bus_fdt.c b/sys/dev/uart/uart_bus_fdt.c
index adcf5d2bfa02..8ad3714e2f61 100644
--- a/sys/dev/uart/uart_bus_fdt.c
+++ b/sys/dev/uart/uart_bus_fdt.c
@@ -123,7 +123,7 @@ uart_fdt_find_compatible(phandle_t node, const struct ofw_compat_data *cd)
const struct ofw_compat_data *ocd;
for (ocd = cd; ocd->ocd_str != NULL; ocd++) {
- if (fdt_is_compatible(node, ocd->ocd_str))
+ if (ofw_bus_node_is_compatible(node, ocd->ocd_str))
return (ocd);
}
return (NULL);