Skip to content

Commit

Permalink
MIPS: ralink: make the RT305x pinmuxing structure static
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
John Crispin authored and Ralf Baechle committed May 7, 2013
1 parent 4114b6a commit 0ba4337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/mips/ralink/rt305x.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

enum rt305x_soc_type rt305x_soc;

struct ralink_pinmux_grp mode_mux[] = {
static struct ralink_pinmux_grp mode_mux[] = {
{
.name = "i2c",
.mask = RT305X_GPIO_MODE_I2C,
Expand Down Expand Up @@ -61,7 +61,7 @@ struct ralink_pinmux_grp mode_mux[] = {
}, {0}
};

struct ralink_pinmux_grp uart_mux[] = {
static struct ralink_pinmux_grp uart_mux[] = {
{
.name = "uartf",
.mask = RT305X_GPIO_MODE_UARTF,
Expand Down Expand Up @@ -103,7 +103,7 @@ struct ralink_pinmux_grp uart_mux[] = {
}, {0}
};

void rt305x_wdt_reset(void)
static void rt305x_wdt_reset(void)
{
u32 t;

Expand Down

0 comments on commit 0ba4337

Please sign in to comment.