diff options
| author | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2018-04-02 20:54:33 +0000 |
|---|---|---|
| committer | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2018-04-02 20:54:33 +0000 |
| commit | 134c55cbdef7494e4248e6b54e59f75f5528ccdf (patch) | |
| tree | e9fe04676d78e5a8448b6d55207c0705d20dd0df /sys/dev/fdt | |
| parent | dbdff636b8dec2e09cbced8469296fb46becb356 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fdt')
| -rw-r--r-- | sys/dev/fdt/fdt_arm_platform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdt/fdt_arm_platform.c b/sys/dev/fdt/fdt_arm_platform.c index 22e935b146f3..fe1f40461689 100644 --- a/sys/dev/fdt/fdt_arm_platform.c +++ b/sys/dev/fdt/fdt_arm_platform.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <arm/include/platformvar.h> #include <dev/ofw/openfirm.h> +#include <dev/ofw/ofw_bus_subr.h> #include <dev/fdt/fdt_common.h> #include "platform_if.h" @@ -58,7 +59,7 @@ fdt_platform_probe(platform_t plat) /* Is the device is compatible? */ root = OF_finddevice("/"); compat = FDT_PLATFORM(plat)->fdt_compatible; - if (fdt_is_compatible(root, compat) != 0) + if (ofw_bus_node_is_compatible(root, compat) != 0) return 0; /* Not compatible, return an error */ |
