mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Patchwork: http://patchwork.linux-mips.org/patch/5172/
This commit is contained in:
parent
4114b6a6c3
commit
0ba433704f
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue