svn commit: r281087 - in head/sys/arm: include mv
Andrew Turner
andrew at FreeBSD.org
Sat Apr 4 22:05:45 UTC 2015
Author: andrew
Date: Sat Apr 4 22:05:43 2015
New Revision: 281087
URL: https://svnweb.freebsd.org/changeset/base/281087
Log:
Move the definition of fdt_localbus_devmap to a Marvell specific file as
it's only used there.
Modified:
head/sys/arm/include/fdt.h
head/sys/arm/mv/mv_localbus.c
head/sys/arm/mv/mvvar.h
Modified: head/sys/arm/include/fdt.h
==============================================================================
--- head/sys/arm/include/fdt.h Sat Apr 4 21:47:54 2015 (r281086)
+++ head/sys/arm/include/fdt.h Sat Apr 4 22:05:43 2015 (r281087)
@@ -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_ */
Modified: head/sys/arm/mv/mv_localbus.c
==============================================================================
--- head/sys/arm/mv/mv_localbus.c Sat Apr 4 21:47:54 2015 (r281086)
+++ head/sys/arm/mv/mv_localbus.c Sat Apr 4 22:05:43 2015 (r281087)
@@ -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
Modified: head/sys/arm/mv/mvvar.h
==============================================================================
--- head/sys/arm/mv/mvvar.h Sat Apr 4 21:47:54 2015 (r281086)
+++ head/sys/arm/mv/mvvar.h Sat Apr 4 22:05:43 2015 (r281087)
@@ -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_ */
More information about the svn-src-all
mailing list