diff options
author | andrew <andrew@FreeBSD.org> | 2016-11-11 15:13:30 +0000 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2017-09-06 11:24:04 -0500 |
commit | 1fcb77c5ed33e15c8b4324ffca97eb8906306d63 (patch) | |
tree | 0538939b8ce82b862e3cbe23a21049f78d89c475 /sys/arm/at91 | |
parent | 043be154c000bd580f87f7098f3214832c0a8f74 (diff) | |
download | FreeBSD-src-1fcb77c5ed33e15c8b4324ffca97eb8906306d63.zip FreeBSD-src-1fcb77c5ed33e15c8b4324ffca97eb8906306d63.tar.gz |
Use the modern spelling of ofw_bus_node_is_compatible in sys/arm.
Sponsored by: ABT Systems Ltd
(cherry picked from commit 7168ae84d82220caac0bb5f5f5d68ccc4e20915b)
Diffstat (limited to 'sys/arm/at91')
-rw-r--r-- | sys/arm/at91/at91_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/at91/at91_common.c b/sys/arm/at91/at91_common.c index 696161f..8ef16fe 100644 --- a/sys/arm/at91/at91_common.c +++ b/sys/arm/at91/at91_common.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <dev/fdt/fdt_common.h> #include <dev/ofw/openfirm.h> +#include <dev/ofw/ofw_bus_subr.h> #include <machine/fdt.h> @@ -56,7 +57,7 @@ fdt_aic_decode_ic(phandle_t node, pcell_t *intr, int *interrupt, int *trig, { int offset; - if (fdt_is_compatible(node, "atmel,at91rm9200-aic")) + if (ofw_bus_node_is_compatible(node, "atmel,at91rm9200-aic")) offset = 0; else return (ENXIO); |