Date: Thu, 8 Sep 2016 18:00:25 -0700 From: Stanislav Sedov <stas@deglitch.com> To: Adrian Chadd <adrian@freebsd.org> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: gpioc patch for intrng Message-ID: <0C82C933-F6AA-4E0B-A310-761E3258F062@deglitch.com> In-Reply-To: <CAJ-Vmonfo8YxYPNq%2BFP4PV-swF7YAFEbvYD9Z6AA8d29Lj1XxQ@mail.gmail.com> References: <CAJ-Vmonfo8YxYPNq%2BFP4PV-swF7YAFEbvYD9Z6AA8d29Lj1XxQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Looks right to me. > On Sep 8, 2016, at 5:56 PM, Adrian Chadd <adrian@freebsd.org> wrote: > > 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 > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > > !DSPAM:57d208b08524077548778! > > -- Stanislav Sedov ST4096-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C82C933-F6AA-4E0B-A310-761E3258F062>