Author: andrew
Date: Wed Nov 30 09:45:18 2016
New Revision: 309322
URL: https://svnweb.freebsd.org/changeset/base/309322

Log:
  Only include FDT headders when building for FDT.
  
  Obtained from:        ABT Systems Ltd
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/arm/arm/gic.c

Modified: head/sys/arm/arm/gic.c
==============================================================================
--- head/sys/arm/arm/gic.c      Wed Nov 30 09:27:08 2016        (r309321)
+++ head/sys/arm/arm/gic.c      Wed Nov 30 09:45:18 2016        (r309322)
@@ -61,8 +61,10 @@ __FBSDID("$FreeBSD$");
 #include <machine/intr.h>
 #include <machine/smp.h>
 
+#ifdef FDT
 #include <dev/fdt/fdt_intr.h>
 #include <dev/ofw/ofw_bus_subr.h>
+#endif
 
 #include <arm/arm/gic.h>
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to