aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.26/0124-tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
committerMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
commitfac7f7f84f3771c5247c7fdee825c092077984f5 (patch)
tree54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.26/0124-tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch.patch
parenta34279723a9cf0796f9261f2fb90bea18cd95711 (diff)
downloadmaster-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.gz
master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.bz2
master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.zip
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/0124-tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches-2.6.26/0124-tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/0124-tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch.patch b/target/linux/s3c24xx/patches-2.6.26/0124-tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch.patch
new file mode 100755
index 0000000000..5c89dfa902
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.26/0124-tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch.patch
@@ -0,0 +1,29 @@
+From 6dc4a3ea9eb3e410e93b0c61c08bd648c8954556 Mon Sep 17 00:00:00 2001
+From: Andy Green <andy@openmoko.com>
+Date: Fri, 25 Jul 2008 23:06:06 +0100
+Subject: [PATCH] tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch
+
+Holger got beaten to it on mainline, they provide a
+s3c2410_gpio_irq2pin() instead of the name he used.
+
+Signed-off-by: Andy Green <andy@openmoko.com>
+---
+ include/asm-arm/arch-s3c2410/gpio.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/include/asm-arm/arch-s3c2410/gpio.h b/include/asm-arm/arch-s3c2410/gpio.h
+index 1b96c4e..520c24b 100644
+--- a/include/asm-arm/arch-s3c2410/gpio.h
++++ b/include/asm-arm/arch-s3c2410/gpio.h
+@@ -61,7 +61,7 @@ static inline int gpio_direction_output(unsigned gpio, int value)
+ #define gpio_to_irq(gpio) s3c2400_gpio_getirq(gpio)
+ #else
+ #define gpio_to_irq(gpio) s3c2410_gpio_getirq(gpio)
+-#define irq_to_gpio(irq) s3c2410_irq_to_gpio(irq)
++#define irq_to_gpio(irq) s3c2410_gpio_irq2pin(irq)
+ #endif
+ #endif
+ #include <asm-generic/gpio.h>
+--
+1.5.6.3
+