procd: default to udp log protocol to keep backwards compat with busybox
[openwrt/staging/yousong.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 --- a/arch/mips/ralink/rt305x.c
17 +++ b/arch/mips/ralink/rt305x.c
18 @@ -22,7 +22,7 @@
19
20 enum rt305x_soc_type rt305x_soc;
21
22 -struct ralink_pinmux_grp mode_mux[] = {
23 +static struct ralink_pinmux_grp mode_mux[] = {
24 {
25 .name = "i2c",
26 .mask = RT305X_GPIO_MODE_I2C,
27 @@ -61,7 +61,7 @@ struct ralink_pinmux_grp mode_mux[] = {
28 }, {0}
29 };
30
31 -struct ralink_pinmux_grp uart_mux[] = {
32 +static struct ralink_pinmux_grp uart_mux[] = {
33 {
34 .name = "uartf",
35 .mask = RT305X_GPIO_MODE_UARTF,
36 @@ -103,7 +103,7 @@ struct ralink_pinmux_grp uart_mux[] = {
37 }, {0}
38 };
39
40 -void rt305x_wdt_reset(void)
41 +static void rt305x_wdt_reset(void)
42 {
43 u32 t;
44