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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to