Commit 4114b6a6 authored by John Crispin's avatar John Crispin Committed by Ralf Baechle

MIPS: ralink: rename gpio_pinmux to rt_gpio_pinmux

Add proper namespacing to the variable.
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5171/
parent 5b4500d1
...@@ -24,7 +24,7 @@ struct ralink_pinmux { ...@@ -24,7 +24,7 @@ struct ralink_pinmux {
int uart_shift; int uart_shift;
void (*wdt_reset)(void); void (*wdt_reset)(void);
}; };
extern struct ralink_pinmux gpio_pinmux; extern struct ralink_pinmux rt_gpio_pinmux;
struct ralink_soc_info { struct ralink_soc_info {
unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; unsigned char sys_type[RAMIPS_SYS_TYPE_LEN];
......
...@@ -114,7 +114,7 @@ void rt305x_wdt_reset(void) ...@@ -114,7 +114,7 @@ void rt305x_wdt_reset(void)
rt_sysc_w32(t, SYSC_REG_SYSTEM_CONFIG); rt_sysc_w32(t, SYSC_REG_SYSTEM_CONFIG);
} }
struct ralink_pinmux gpio_pinmux = { struct ralink_pinmux rt_gpio_pinmux = {
.mode = mode_mux, .mode = mode_mux,
.uart = uart_mux, .uart = uart_mux,
.uart_shift = RT305X_GPIO_MODE_UART0_SHIFT, .uart_shift = RT305X_GPIO_MODE_UART0_SHIFT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment