gpioc patch for intrng

Adrian Chadd adrian at freebsd.org
Fri Sep 9 00:56:05 UTC 2016


hi,

I'm building up a mips + gpio + intrng platform (the ar231x/531x
platform code from mori) and gpio doesn't compile. It seems it
requires the intrng intr.h to be included.

Does anyone have any issues with this?

Thanks,

-adrian


adrian at gertrude:~/work/freebsd/head-embedded/src % svn diff sys/dev/gpio
Index: sys/dev/gpio/gpiobusvar.h
===================================================================
--- sys/dev/gpio/gpiobusvar.h   (revision 305632)
+++ sys/dev/gpio/gpiobusvar.h   (working copy)
@@ -41,6 +41,10 @@
 #include <gnu/dts/include/dt-bindings/gpio/gpio.h>
 #endif

+#ifdef INTRNG
+#include <sys/intr.h>
+#endif
+
 #include "gpio_if.h"

 #ifdef FDT


More information about the freebsd-mips mailing list