X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/72015e72cf1d2686dc3a4c09e7facea3481d3267..f79493eb953d33df8bedf1535bb25d8e043def60:/target/linux/ar7/patches-2.6.32/930-titan-platform.patch?ds=inline diff --git a/target/linux/ar7/patches-2.6.32/930-titan-platform.patch b/target/linux/ar7/patches-2.6.32/930-titan-platform.patch index 2678876ba..b7ecfc2d1 100644 --- a/target/linux/ar7/patches-2.6.32/930-titan-platform.patch +++ b/target/linux/ar7/patches-2.6.32/930-titan-platform.patch @@ -632,7 +632,7 @@ + * GPIO Control + **********************************************************************/ + -+typedef struct ++typedef struct +{ + int pinSelReg; + int shift; @@ -721,7 +721,7 @@ + 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); +