Skip to content

Commit

Permalink
MIPS: ralink: rename gpio_pinmux to rt_gpio_pinmux
Browse files Browse the repository at this point in the history
Add proper namespacing to the variable.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5171/
  • Loading branch information
John Crispin authored and Ralf Baechle committed May 7, 2013
1 parent 5b4500d commit 4114b6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/mips/ralink/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/ralink/rt305x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4114b6a

Please sign in to comment.