OSDN Git Service

MIPS: ralink: rename gpio_pinmux to rt_gpio_pinmux
authorJohn Crispin <blogic@openwrt.org>
Fri, 12 Apr 2013 20:12:09 +0000 (22:12 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 May 2013 23:19:08 +0000 (01:19 +0200)
Add proper namespacing to the variable.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5171/

arch/mips/ralink/common.h
arch/mips/ralink/rt305x.c

index 3009903..f4b19c6 100644 (file)
@@ -24,7 +24,7 @@ struct ralink_pinmux {
        int uart_shift;
        void (*wdt_reset)(void);
 };
-extern struct ralink_pinmux gpio_pinmux;
+extern struct ralink_pinmux rt_gpio_pinmux;
 
 struct ralink_soc_info {
        unsigned char sys_type[RAMIPS_SYS_TYPE_LEN];
index 5d49a54..f1a6c33 100644 (file)
@@ -114,7 +114,7 @@ void rt305x_wdt_reset(void)
        rt_sysc_w32(t, SYSC_REG_SYSTEM_CONFIG);
 }
 
-struct ralink_pinmux gpio_pinmux = {
+struct ralink_pinmux rt_gpio_pinmux = {
        .mode = mode_mux,
        .uart = uart_mux,
        .uart_shift = RT305X_GPIO_MODE_UART0_SHIFT,