ar71xx: adding u-boot for nbg460n
[openwrt/svn-archive/archive.git] / target / linux / ixp4xx / patches-2.6.32 / 030-backport-introduce-IXP4XX_GPIO_IRQ.patch
1 --- a/arch/arm/mach-ixp4xx/include/mach/irqs.h
2 +++ b/arch/arm/mach-ixp4xx/include/mach/irqs.h
3 @@ -59,6 +59,9 @@
4 #define IRQ_IXP4XX_MCU_ECC 61
5 #define IRQ_IXP4XX_EXP_PE 62
6
7 +#define _IXP4XX_GPIO_IRQ(n) (IRQ_IXP4XX_GPIO ## n)
8 +#define IXP4XX_GPIO_IRQ(n) _IXP4XX_GPIO_IRQ(n)
9 +
10 /*
11 * Only first 32 sources are valid if running on IXP42x systems
12 */