[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user