diff options
author | andrew <andrew@FreeBSD.org> | 2015-04-04 22:05:43 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-04-04 22:05:43 +0000 |
commit | 36a74b71ba68766b1c93d524b2e289d2d81fb8aa (patch) | |
tree | 2b06b062ea1e20d7e7620c800886351c6ed80a2d | |
parent | 308eebbd5279282c90e55ee7f684a7f62a7a24c1 (diff) | |
download | FreeBSD-src-36a74b71ba68766b1c93d524b2e289d2d81fb8aa.zip FreeBSD-src-36a74b71ba68766b1c93d524b2e289d2d81fb8aa.tar.gz |
Move the definition of fdt_localbus_devmap to a Marvell specific file as
it's only used there.
-rw-r--r-- | sys/arm/include/fdt.h | 4 | ||||
-rw-r--r-- | sys/arm/mv/mv_localbus.c | 1 | ||||
-rw-r--r-- | sys/arm/mv/mvvar.h | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/sys/arm/include/fdt.h b/sys/arm/include/fdt.h index 9bd9332..52794b0 100644 --- a/sys/arm/include/fdt.h +++ b/sys/arm/include/fdt.h @@ -51,8 +51,4 @@ */ extern bus_space_tag_t fdtbus_bs_tag; -struct arm_devmap_entry; - -int fdt_localbus_devmap(phandle_t, struct arm_devmap_entry *, int, int *); - #endif /* _MACHINE_FDT_H_ */ diff --git a/sys/arm/mv/mv_localbus.c b/sys/arm/mv/mv_localbus.c index 8d91c41..59cccc4 100644 --- a/sys/arm/mv/mv_localbus.c +++ b/sys/arm/mv/mv_localbus.c @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include "dev/fdt/fdt_common.h" #include "ofw_bus_if.h" +#include <arm/mv/mvvar.h> #include <arm/mv/mvwin.h> #ifdef DEBUG diff --git a/sys/arm/mv/mvvar.h b/sys/arm/mv/mvvar.h index a9b2bb0..7166fab 100644 --- a/sys/arm/mv/mvvar.h +++ b/sys/arm/mv/mvvar.h @@ -140,5 +140,6 @@ struct arm_devmap_entry; int mv_pci_devmap(phandle_t, struct arm_devmap_entry *, vm_offset_t, vm_offset_t); +int fdt_localbus_devmap(phandle_t, struct arm_devmap_entry *, int, int *); #endif /* _MVVAR_H_ */ |