summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-02-11 16:43:23 +0000
committerandrew <andrew@FreeBSD.org>2016-02-11 16:43:23 +0000
commit0d45ed6f45ba3b645811c9a96a7d5e4d53d91bcd (patch)
tree21a9acdc3c7163b268bb5475be38a23cc750b2f5 /sys/mips
parent4d87c063868bbec8eef87b8a61e80037f9f28c7e (diff)
downloadFreeBSD-src-0d45ed6f45ba3b645811c9a96a7d5e4d53d91bcd.zip
FreeBSD-src-0d45ed6f45ba3b645811c9a96a7d5e4d53d91bcd.tar.gz
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
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/nexus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/mips/mips/nexus.c b/sys/mips/mips/nexus.c
index f781248..1e3d409 100644
--- a/sys/mips/mips/nexus.c
+++ b/sys/mips/mips/nexus.c
@@ -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
OpenPOWER on IntegriCloud