summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-01-11 08:36:07 -0600
committerLuiz Souza <luiz@netgate.com>2018-01-11 08:39:57 -0600
commit10a97db84b613c3399ab5dc268a7003b1ecfdf43 (patch)
treefcdee41279d4bd3d8fad25df295de5f4ef5a4996
parent80529bfc8dc93c311d60a2dc32aaefb9a48bf161 (diff)
downloadFreeBSD-src-10a97db84b613c3399ab5dc268a7003b1ecfdf43.zip
FreeBSD-src-10a97db84b613c3399ab5dc268a7003b1ecfdf43.tar.gz
Include the opt_platform.h so that the if defined(FDT) can actually work.
(cherry picked from commit 2331af834543e4d99749c33e4ed1873d0ef339b9)
-rw-r--r--sys/dev/etherswitch/e6000sw/e6000sw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/e6000sw/e6000sw.c b/sys/dev/etherswitch/e6000sw/e6000sw.c
index dca639f..cfb16b9 100644
--- a/sys/dev/etherswitch/e6000sw/e6000sw.c
+++ b/sys/dev/etherswitch/e6000sw/e6000sw.c
@@ -28,6 +28,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_platform.h"
+
#include <sys/param.h>
#include <sys/bus.h>
#include <sys/errno.h>
OpenPOWER on IntegriCloud