[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
+4
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