ubox: update to latest git revision
[openwrt.git] / target / linux / ramips / patches-3.9 / 0108-MIPS-ralink-make-the-RT305x-pinmuxing-structure-stat.patch
1 From 7a77fb07f96b8c7fa446ca1b62eddf7213362a70 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Fri, 12 Apr 2013 22:16:12 +0200
4 Subject: [PATCH 108/164] MIPS: ralink: make the RT305x pinmuxing structure
5  static
6
7 These structures are exported via struct ralink_pinmux rt_gpio_pinmux and can
8 hence be static.
9
10 Signed-off-by: John Crispin <blogic@openwrt.org>
11 Patchwork: http://patchwork.linux-mips.org/patch/5172/
12 ---
13  arch/mips/ralink/rt305x.c |    6 +++---
14  1 file changed, 3 insertions(+), 3 deletions(-)
15
16 diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c
17 index f1a6c33..5b42078 100644
18 --- a/arch/mips/ralink/rt305x.c
19 +++ b/arch/mips/ralink/rt305x.c
20 @@ -22,7 +22,7 @@
21  
22  enum rt305x_soc_type rt305x_soc;
23  
24 -struct ralink_pinmux_grp mode_mux[] = {
25 +static struct ralink_pinmux_grp mode_mux[] = {
26         {
27                 .name = "i2c",
28                 .mask = RT305X_GPIO_MODE_I2C,
29 @@ -61,7 +61,7 @@ struct ralink_pinmux_grp mode_mux[] = {
30         }, {0}
31  };
32  
33 -struct ralink_pinmux_grp uart_mux[] = {
34 +static struct ralink_pinmux_grp uart_mux[] = {
35         {
36                 .name = "uartf",
37                 .mask = RT305X_GPIO_MODE_UARTF,
38 @@ -103,7 +103,7 @@ struct ralink_pinmux_grp uart_mux[] = {
39         }, {0}
40  };
41  
42 -void rt305x_wdt_reset(void)
43 +static void rt305x_wdt_reset(void)
44  {
45         u32 t;
46  
47 -- 
48 1.7.10.4
49