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/mv/mv_pci.c | |
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/mv/mv_pci.c')
-rw-r--r-- | sys/arm/mv/mv_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/mv/mv_pci.c b/sys/arm/mv/mv_pci.c index 55d3f15..7f6b1f7 100644 --- a/sys/arm/mv/mv_pci.c +++ b/sys/arm/mv/mv_pci.c @@ -429,12 +429,12 @@ mv_pcib_attach(device_t self) node = ofw_bus_get_node(self); parnode = OF_parent(node); - if (fdt_is_compatible(node, "mrvl,pcie")) { + if (ofw_bus_node_is_compatible(node, "mrvl,pcie")) { sc->sc_type = MV_TYPE_PCIE; sc->sc_win_target = MV_WIN_PCIE_TARGET(unit); sc->sc_mem_win_attr = MV_WIN_PCIE_MEM_ATTR(unit); sc->sc_io_win_attr = MV_WIN_PCIE_IO_ATTR(unit); - } else if (fdt_is_compatible(node, "mrvl,pci")) { + } else if (ofw_bus_node_is_compatible(node, "mrvl,pci")) { sc->sc_type = MV_TYPE_PCI; sc->sc_win_target = MV_WIN_PCI_TARGET; sc->sc_mem_win_attr = MV_WIN_PCI_MEM_ATTR; |