Date: Fri, 9 Sep 2016 04:54:41 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r305639 - head/sys/dev/gpio Message-ID: <201609090454.u894sf2l002289@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Fri Sep 9 04:54:41 2016 New Revision: 305639 URL: https://svnweb.freebsd.org/changeset/base/305639 Log: [gpio] include intr.h when building with INTRNG. Trying to build a MIPS platform that uses INTRNG needs this for this to work right in gpiobusvar.h : #ifdef INTRNG struct intr_map_data_gpio { struct intr_map_data hdr; ... }; #endif Modified: head/sys/dev/gpio/gpiobusvar.h Modified: head/sys/dev/gpio/gpiobusvar.h ============================================================================== --- head/sys/dev/gpio/gpiobusvar.h Fri Sep 9 04:47:48 2016 (r305638) +++ head/sys/dev/gpio/gpiobusvar.h Fri Sep 9 04:54:41 2016 (r305639) @@ -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?201609090454.u894sf2l002289>