svn commit: r292519 - head/sys/mips/include

Ian Lepore ian at FreeBSD.org
Sun Dec 20 19:09:14 UTC 2015


Author: ian
Date: Sun Dec 20 19:09:12 2015
New Revision: 292519
URL: https://svnweb.freebsd.org/changeset/base/292519

Log:
  Tidy up mips ofw_machdep.h.  Don't include openfirm.h because openfirm.h
  is what includes machine/ofw_machdep.h.  Don't declare OF_decode_addr();
  it isn't implemented yet on mips and the declaration for it is about to
  be commonized into openfirm.h.

Modified:
  head/sys/mips/include/ofw_machdep.h

Modified: head/sys/mips/include/ofw_machdep.h
==============================================================================
--- head/sys/mips/include/ofw_machdep.h	Sun Dec 20 18:02:13 2015	(r292518)
+++ head/sys/mips/include/ofw_machdep.h	Sun Dec 20 19:09:12 2015	(r292519)
@@ -32,7 +32,6 @@
 #include <sys/types.h>
 #include <sys/rman.h>
 #include <sys/bus.h>
-#include <dev/ofw/openfirm.h>
 
 typedef	uint32_t	cell_t;
 struct mem_region {
@@ -40,8 +39,6 @@ struct mem_region {
 	vm_size_t	mr_size;
 };
 
-
-int  OF_decode_addr(phandle_t, int, bus_space_tag_t *, bus_space_handle_t *);
 void OF_getetheraddr(device_t dev, u_char *addr);
 void OF_initial_setup(void *fdt_ptr, void *junk, int (*openfirm)(void *));
 


More information about the svn-src-head mailing list