1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-17 02:46:16 +02:00
openwrt-xburst/target/linux/ixp4xx/patches-2.6.32/030-backport-introduce-IXP4XX_GPIO_IRQ.patch
juhosg 5515601052 ixp4xx: backport IXP4XX_GPIO_IRQ macro to 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 21:07:38 +00:00

13 lines
351 B
Diff

--- a/arch/arm/mach-ixp4xx/include/mach/irqs.h
+++ b/arch/arm/mach-ixp4xx/include/mach/irqs.h
@@ -59,6 +59,9 @@
#define IRQ_IXP4XX_MCU_ECC 61
#define IRQ_IXP4XX_EXP_PE 62
+#define _IXP4XX_GPIO_IRQ(n) (IRQ_IXP4XX_GPIO ## n)
+#define IXP4XX_GPIO_IRQ(n) _IXP4XX_GPIO_IRQ(n)
+
/*
* Only first 32 sources are valid if running on IXP42x systems
*/