1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

[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
This commit is contained in:
Adrian Chadd 2016-09-09 04:54:41 +00:00
parent c028fb5098
commit 01decb509d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305639

View File

@ -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