diff options
Diffstat (limited to 'sys/dev/fdt/fdt_pci.c')
-rw-r--r-- | sys/dev/fdt/fdt_pci.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/fdt/fdt_pci.c b/sys/dev/fdt/fdt_pci.c index 40f12cb..a4cf9d1 100644 --- a/sys/dev/fdt/fdt_pci.c +++ b/sys/dev/fdt/fdt_pci.c @@ -42,6 +42,9 @@ __FBSDID("$FreeBSD$"); #include <dev/pci/pcireg.h> #include <machine/fdt.h> +#if defined(__arm__) +#include <machine/devmap.h> +#endif #include "ofw_bus_if.h" #include "pcib_if.h" @@ -332,7 +335,7 @@ next: #if defined(__arm__) int -fdt_pci_devmap(phandle_t node, struct pmap_devmap *devmap, vm_offset_t io_va, +fdt_pci_devmap(phandle_t node, struct arm_devmap_entry *devmap, vm_offset_t io_va, vm_offset_t mem_va) { struct fdt_pci_range io_space, mem_space; |