Commit 0ba43370 authored by John Crispin's avatar John Crispin Committed by Ralf Baechle

MIPS: ralink: make the RT305x pinmuxing structure static

These structures are exported via struct ralink_pinmux rt_gpio_pinmux and can
hence be static.
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5172/
parent 4114b6a6
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
enum rt305x_soc_type rt305x_soc; enum rt305x_soc_type rt305x_soc;
struct ralink_pinmux_grp mode_mux[] = { static struct ralink_pinmux_grp mode_mux[] = {
{ {
.name = "i2c", .name = "i2c",
.mask = RT305X_GPIO_MODE_I2C, .mask = RT305X_GPIO_MODE_I2C,
...@@ -61,7 +61,7 @@ struct ralink_pinmux_grp mode_mux[] = { ...@@ -61,7 +61,7 @@ struct ralink_pinmux_grp mode_mux[] = {
}, {0} }, {0}
}; };
struct ralink_pinmux_grp uart_mux[] = { static struct ralink_pinmux_grp uart_mux[] = {
{ {
.name = "uartf", .name = "uartf",
.mask = RT305X_GPIO_MODE_UARTF, .mask = RT305X_GPIO_MODE_UARTF,
...@@ -103,7 +103,7 @@ struct ralink_pinmux_grp uart_mux[] = { ...@@ -103,7 +103,7 @@ struct ralink_pinmux_grp uart_mux[] = {
}, {0} }, {0}
}; };
void rt305x_wdt_reset(void) static void rt305x_wdt_reset(void)
{ {
u32 t; u32 t;
......
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