diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-08-14 21:07:38 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-08-14 21:07:38 +0000 |
commit | 2a98784f23cf5250b065189e19645edadf5f76bc (patch) | |
tree | b829b30b3eb664a62ff6b0f28addb5df36da66c5 /target/linux/ixp4xx/patches-2.6.32 | |
parent | 2f8079e04449719382f00ac22ed2b64df1a6c304 (diff) | |
download | master-187ad058-2a98784f23cf5250b065189e19645edadf5f76bc.tar.gz master-187ad058-2a98784f23cf5250b065189e19645edadf5f76bc.tar.bz2 master-187ad058-2a98784f23cf5250b065189e19645edadf5f76bc.zip |
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
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.32')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.32/030-backport-introduce-IXP4XX_GPIO_IRQ.patch | 12 |
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 + */ |