svn commit: r294562 - head/sys/dev/fdt

Andrew Turner andrew at FreeBSD.org
Fri Jan 22 13:09:44 UTC 2016


Author: andrew
Date: Fri Jan 22 13:09:43 2016
New Revision: 294562
URL: https://svnweb.freebsd.org/changeset/base/294562

Log:
  Only define fdt_pic_table on arm, and when not using intrng as this is
  the only place that uses it.

Modified:
  head/sys/dev/fdt/fdt_common.h

Modified: head/sys/dev/fdt/fdt_common.h
==============================================================================
--- head/sys/dev/fdt/fdt_common.h	Fri Jan 22 12:51:12 2016	(r294561)
+++ head/sys/dev/fdt/fdt_common.h	Fri Jan 22 13:09:43 2016	(r294562)
@@ -45,8 +45,10 @@ struct fdt_sense_level {
 	enum intr_polarity	pol;
 };
 
+#if defined(__arm__) && !defined(ARM_INTRNG)
 typedef int (*fdt_pic_decode_t)(phandle_t, pcell_t *, int *, int *, int *);
 extern fdt_pic_decode_t fdt_pic_table[];
+#endif
 
 #if defined(__arm__) || defined(__powerpc__)
 typedef void (*fdt_fixup_t)(phandle_t);


More information about the svn-src-head mailing list