changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of...
[openwrt/staging/florian.git] / target / linux / s3c24xx / patches-2.6.26 / 0124-tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch.patch
1 From 6dc4a3ea9eb3e410e93b0c61c08bd648c8954556 Mon Sep 17 00:00:00 2001
2 From: Andy Green <andy@openmoko.com>
3 Date: Fri, 25 Jul 2008 23:06:06 +0100
4 Subject: [PATCH] tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch
5
6 Holger got beaten to it on mainline, they provide a
7 s3c2410_gpio_irq2pin() instead of the name he used.
8
9 Signed-off-by: Andy Green <andy@openmoko.com>
10 ---
11 include/asm-arm/arch-s3c2410/gpio.h | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/include/asm-arm/arch-s3c2410/gpio.h b/include/asm-arm/arch-s3c2410/gpio.h
15 index 1b96c4e..520c24b 100644
16 --- a/include/asm-arm/arch-s3c2410/gpio.h
17 +++ b/include/asm-arm/arch-s3c2410/gpio.h
18 @@ -61,7 +61,7 @@ static inline int gpio_direction_output(unsigned gpio, int value)
19 #define gpio_to_irq(gpio) s3c2400_gpio_getirq(gpio)
20 #else
21 #define gpio_to_irq(gpio) s3c2410_gpio_getirq(gpio)
22 -#define irq_to_gpio(irq) s3c2410_irq_to_gpio(irq)
23 +#define irq_to_gpio(irq) s3c2410_gpio_irq2pin(irq)
24 #endif
25 #endif
26 #include <asm-generic/gpio.h>
27 --
28 1.5.6.3
29