aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-08-14 21:07:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-08-14 21:07:38 +0000
commit6055df046db5635d7ff554d474f28c281c5bd009 (patch)
tree960134cc225950c9e9f5865064a15e257e44f78d /target/linux/ixp4xx
parent2b2affffb15b34d396f7d2dd04bf429675ce80fa (diff)
downloadupstream-6055df046db5635d7ff554d474f28c281c5bd009.tar.gz
upstream-6055df046db5635d7ff554d474f28c281c5bd009.tar.bz2
upstream-6055df046db5635d7ff554d474f28c281c5bd009.zip
ixp4xx: backport IXP4XX_GPIO_IRQ macro to 2.6.32
SVN-Revision: 22647
Diffstat (limited to 'target/linux/ixp4xx')
-rw-r--r--target/linux/ixp4xx/patches-2.6.32/030-backport-introduce-IXP4XX_GPIO_IRQ.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.32/030-backport-introduce-IXP4XX_GPIO_IRQ.patch b/target/linux/ixp4xx/patches-2.6.32/030-backport-introduce-IXP4XX_GPIO_IRQ.patch
new file mode 100644
index 0000000000..eafe051d1a
--- /dev/null
+++ b/target/linux/ixp4xx/patches-2.6.32/030-backport-introduce-IXP4XX_GPIO_IRQ.patch
@@ -0,0 +1,12 @@
+--- 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
+ */