Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2016 17:56:03 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   gpioc patch for intrng
Message-ID:  <CAJ-Vmonfo8YxYPNq%2BFP4PV-swF7YAFEbvYD9Z6AA8d29Lj1XxQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmonfo8YxYPNq%2BFP4PV-swF7YAFEbvYD9Z6AA8d29Lj1XxQ>