diff options
author | John Crispin <blogic@openwrt.org> | 2013-04-12 16:12:09 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-07 19:19:08 -0400 |
commit | 4114b6a6c3f2285f7f74065789dbd68fa24fc0ae (patch) | |
tree | 478ca9f804bf4f103a4ac290783d8cfdcd959c76 | |
parent | 5b4500d1944258184746c1f5ff05ab07b8f0b718 (diff) |
MIPS: ralink: rename gpio_pinmux to rt_gpio_pinmux
Add proper namespacing to the variable.
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5171/
-rw-r--r-- | arch/mips/ralink/common.h | 2 | ||||
-rw-r--r-- | arch/mips/ralink/rt305x.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h index 300990313e1b..f4b19c679ed4 100644 --- a/arch/mips/ralink/common.h +++ b/arch/mips/ralink/common.h | |||
@@ -24,7 +24,7 @@ struct ralink_pinmux { | |||
24 | int uart_shift; | 24 | int uart_shift; |
25 | void (*wdt_reset)(void); | 25 | void (*wdt_reset)(void); |
26 | }; | 26 | }; |
27 | extern struct ralink_pinmux gpio_pinmux; | 27 | extern struct ralink_pinmux rt_gpio_pinmux; |
28 | 28 | ||
29 | struct ralink_soc_info { | 29 | struct ralink_soc_info { |
30 | unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; | 30 | unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; |
diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c index 5d49a54ba8fa..f1a6c330826c 100644 --- a/arch/mips/ralink/rt305x.c +++ b/arch/mips/ralink/rt305x.c | |||
@@ -114,7 +114,7 @@ void rt305x_wdt_reset(void) | |||
114 | rt_sysc_w32(t, SYSC_REG_SYSTEM_CONFIG); | 114 | rt_sysc_w32(t, SYSC_REG_SYSTEM_CONFIG); |
115 | } | 115 | } |
116 | 116 | ||
117 | struct ralink_pinmux gpio_pinmux = { | 117 | struct ralink_pinmux rt_gpio_pinmux = { |
118 | .mode = mode_mux, | 118 | .mode = mode_mux, |
119 | .uart = uart_mux, | 119 | .uart = uart_mux, |
120 | .uart_shift = RT305X_GPIO_MODE_UART0_SHIFT, | 120 | .uart_shift = RT305X_GPIO_MODE_UART0_SHIFT, |