diff options
author | John Crispin <blogic@openwrt.org> | 2013-04-12 16:16:12 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-07 19:19:09 -0400 |
commit | 0ba433704f7789e80734ac346b872ff141ec82c2 (patch) | |
tree | 46fd4167a4a7d1509d12d318d5a35974c5058a7c /arch/mips | |
parent | 4114b6a6c3f2285f7f74065789dbd68fa24fc0ae (diff) |
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: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5172/
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/ralink/rt305x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c index f1a6c330826c..5b42078b7341 100644 --- a/arch/mips/ralink/rt305x.c +++ b/arch/mips/ralink/rt305x.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | enum rt305x_soc_type rt305x_soc; | 23 | enum rt305x_soc_type rt305x_soc; |
24 | 24 | ||
25 | struct ralink_pinmux_grp mode_mux[] = { | 25 | static struct ralink_pinmux_grp mode_mux[] = { |
26 | { | 26 | { |
27 | .name = "i2c", | 27 | .name = "i2c", |
28 | .mask = RT305X_GPIO_MODE_I2C, | 28 | .mask = RT305X_GPIO_MODE_I2C, |
@@ -61,7 +61,7 @@ struct ralink_pinmux_grp mode_mux[] = { | |||
61 | }, {0} | 61 | }, {0} |
62 | }; | 62 | }; |
63 | 63 | ||
64 | struct ralink_pinmux_grp uart_mux[] = { | 64 | static struct ralink_pinmux_grp uart_mux[] = { |
65 | { | 65 | { |
66 | .name = "uartf", | 66 | .name = "uartf", |
67 | .mask = RT305X_GPIO_MODE_UARTF, | 67 | .mask = RT305X_GPIO_MODE_UARTF, |
@@ -103,7 +103,7 @@ struct ralink_pinmux_grp uart_mux[] = { | |||
103 | }, {0} | 103 | }, {0} |
104 | }; | 104 | }; |
105 | 105 | ||
106 | void rt305x_wdt_reset(void) | 106 | static void rt305x_wdt_reset(void) |
107 | { | 107 | { |
108 | u32 t; | 108 | u32 t; |
109 | 109 | ||