Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2015 22:05:44 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281087 - in head/sys/arm: include mv
Message-ID:  <201504042205.t34M5iAr093367@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504042205.t34M5iAr093367>