diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-04-19 16:56:21 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-04-19 16:56:21 +0000 |
commit | afc67a4db9cf1dd371f10cf548503c29fca6aaa2 (patch) | |
tree | 389efee3f5d5e0630633137593377ddd81202d30 /target/linux/ixp4xx/patches-2.6.24/302-gpio_device.patch | |
parent | 8f3d3ea2183d32de437ba5443c9e5a2a2dcd476f (diff) |
[ixp4xx] avila: add model detection, refresh patches. Kaloz: thank you for the review, comments, suggestions :P
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10866 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 27 |
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 */ |