svn commit: r295527 - head/sys/mips/mips

Andrew Turner andrew at FreeBSD.org
Thu Feb 11 16:43:24 UTC 2016


Author: andrew
Date: Thu Feb 11 16:43:23 2016
New Revision: 295527
URL: https://svnweb.freebsd.org/changeset/base/295527

Log:
  Include the correct header to get a phandle_t needed by ofw_bus_if.h. While
  here only include opt_platform.h once.
  
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/mips/mips/nexus.c

Modified: head/sys/mips/mips/nexus.c
==============================================================================
--- head/sys/mips/mips/nexus.c	Thu Feb 11 16:39:30 2016	(r295526)
+++ head/sys/mips/mips/nexus.c	Thu Feb 11 16:43:23 2016	(r295527)
@@ -64,10 +64,8 @@ __FBSDID("$FreeBSD$");
 #include <machine/intr_machdep.h>
 #endif
 
-#include "opt_platform.h"
-
 #ifdef FDT
-#include <machine/fdt.h>
+#include <dev/ofw/openfirm.h>
 #include "ofw_bus_if.h"
 #endif
 


More information about the svn-src-head mailing list