fix madwifi mode setting
[openwrt.git] / target / linux / ixp4xx / patches-2.6.25 / 302-avila_gpio_device.patch
index aee0eee..53b8b63 100644 (file)
@@ -1,9 +1,7 @@
-Index: linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c
-===================================================================
---- 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,10 +192,28 @@ static struct platform_device avila_leds
-       .dev.platform_data      = &avila_leds_data,
+--- a/arch/arm/mach-ixp4xx/avila-setup.c
++++ b/arch/arm/mach-ixp4xx/avila-setup.c
+@@ -239,10 +239,28 @@
+       .dev.platform_data      = &avila_latch_leds_data,
  };
  
 +static struct resource avila_gpio_resources[] = {
  };
  
 +static struct resource avila_gpio_resources[] = {
@@ -31,11 +29,9 @@ Index: linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c
 +      &avila_gpio,
  };
  
 +      &avila_gpio,
  };
  
- static char avila_rtc_probe[] __initdata = "rtc-ds1672.probe=0,0x68 ";
-Index: linux-2.6.24.2/include/asm-arm/arch-ixp4xx/avila.h
-===================================================================
---- 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
+ static void __init avila_gw23xx_setup(void)
+--- a/include/asm-arm/arch-ixp4xx/avila.h
++++ b/include/asm-arm/arch-ixp4xx/avila.h
 @@ -39,3 +39,6 @@
  /* User LEDs */
  #define AVILA_GW23XX_LED_USER_GPIO    3
 @@ -39,3 +39,6 @@
  /* User LEDs */
  #define AVILA_GW23XX_LED_USER_GPIO    3
This page took 0.026417 seconds and 4 git commands to generate.