[ar7] refresh patches and remove trailing whitespaces
[openwrt/svn-archive/archive.git] / target / linux / ar7 / patches-2.6.32 / 930-titan-platform.patch
index 454f8ca741318b34a3fd311099352078c2f13862..b7ecfc2d12f1e3dd0170ba158e946e1289326595 100644 (file)
        } else if (strstr(prid, "DG834")) {
                ar7_led_data.num_leds = ARRAY_SIZE(dg834g_leds);
                ar7_led_data.leds = dg834g_leds;
-+      } else if (strstr(prid, "CYWM")) {
++      } else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) {
 +              ar7_led_data.num_leds = ARRAY_SIZE(titan_leds);
 +              ar7_led_data.leds = titan_leds;
        }
 + *  GPIO Control
 + **********************************************************************/
 +
-+typedef struct 
++typedef struct
 +{
 +    int pinSelReg;
 +    int shift;
 +    GPIO_CFG  gpio_cfg;
 +    volatile PIN_SEL_REG_ARRAY_T *pin_sel_array = (PIN_SEL_REG_ARRAY_T*) AVALANCHE_PIN_SEL_BASE;
 +    volatile TITAN_GPIO_CONTROL_T   *gpio_cntl     = (TITAN_GPIO_CONTROL_T*) KSEG1ADDR(AR7_REGS_GPIO + TITAN_GPIO_INPUT_0);
-+      
++
 +    if (gpio_pin > 51 )
 +        return(-1);
 +