summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2018-04-02 20:54:33 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2018-04-02 20:54:33 +0000
commit134c55cbdef7494e4248e6b54e59f75f5528ccdf (patch)
treee9fe04676d78e5a8448b6d55207c0705d20dd0df /sys/dev/fdt
parentdbdff636b8dec2e09cbced8469296fb46becb356 (diff)
Notes
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/fdt_arm_platform.c3
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 */