1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[ar7] refresh patches and remove trailing whitespaces

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24181 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2010-11-28 18:14:34 +00:00
parent 90dd053819
commit f0589f7290
7 changed files with 51 additions and 67 deletions

View File

@@ -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);
+