summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.24/302-gpio_device.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.24/302-gpio_device.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.24/302-gpio_device.patch27
1 files changed, 14 insertions, 13 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.24/302-gpio_device.patch b/target/linux/ixp4xx/patches-2.6.24/302-gpio_device.patch
index 0a1831b4fc..faa08beeab 100644
--- a/target/linux/ixp4xx/patches-2.6.24/302-gpio_device.patch
+++ b/target/linux/ixp4xx/patches-2.6.24/302-gpio_device.patch
@@ -1,8 +1,8 @@
-Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c
+Index: linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c
===================================================================
---- linux-2.6.23.14.orig/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-26 02:59:30.000000000 +0100
-+++ linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-26 03:03:07.000000000 +0100
-@@ -183,6 +183,23 @@
+--- linux-2.6.24.2.orig/arch/arm/mach-ixp4xx/avila-setup.c
++++ linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c
+@@ -192,6 +192,24 @@ static struct platform_device avila_leds
};
#endif
@@ -17,16 +17,17 @@ Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c
+};
+
+static struct platform_device avila_gpio = {
-+ .name = "GPIODEV",
-+ .id = -1,
++ .name = "GPIODEV",
++ .id = -1,
+ .num_resources = ARRAY_SIZE(avila_gpio_resources),
-+ .resource = avila_gpio_resources,
++ .resource = avila_gpio_resources,
+};
+#endif
-
++
static struct platform_device *avila_devices[] __initdata = {
&avila_i2c_gpio,
-@@ -193,6 +210,9 @@
+ &avila_flash,
+@@ -199,6 +217,9 @@ static struct platform_device *avila_dev
#ifdef CONFIG_LEDS_IXP4XX
&avila_leds,
#endif
@@ -35,11 +36,11 @@ Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c
+#endif
};
- static char avila_rtc_probe[] __initdata = "rtc-ds1672.probe=0,0x68 ";
-Index: linux-2.6.23.14/include/asm-arm/arch-ixp4xx/avila.h
+ static struct platform_device *avila_eth_devices[] = {
+Index: linux-2.6.24.2/include/asm-arm/arch-ixp4xx/avila.h
===================================================================
---- linux-2.6.23.14.orig/include/asm-arm/arch-ixp4xx/avila.h 2008-01-26 03:03:27.000000000 +0100
-+++ linux-2.6.23.14/include/asm-arm/arch-ixp4xx/avila.h 2008-01-26 03:07:02.000000000 +0100
+--- linux-2.6.24.2.orig/include/asm-arm/arch-ixp4xx/avila.h
++++ linux-2.6.24.2/include/asm-arm/arch-ixp4xx/avila.h
@@ -38,3 +38,6 @@
/* User LED */