--- zzzz-none-000/linux-3.10.107/arch/mips/ar7/gpio.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/mips/ar7/gpio.c 2021-02-04 17:41:59.000000000 +0000 @@ -21,7 +21,10 @@ #include #include -#include +#include + +#define AR7_GPIO_MAX 32 +#define TITAN_GPIO_MAX 51 struct ar7_gpio_chip { void __iomem *regs;