From: John Crispin Date: Fri, 12 Apr 2013 20:16:12 +0000 (+0200) Subject: MIPS: ralink: make the RT305x pinmuxing structure static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0ba433704f7789e80734ac346b872ff141ec82c2;p=linux-beck.git 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 Patchwork: http://patchwork.linux-mips.org/patch/5172/ --- 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 @@ 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, @@ -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, @@ -103,7 +103,7 @@ struct ralink_pinmux_grp uart_mux[] = { }, {0} }; -void rt305x_wdt_reset(void) +static void rt305x_wdt_reset(void) { u32 t;