ramips: fix pinmux typo
[openwrt/openwrt.git] / target / linux / ramips / patches-4.4 / 0085-pinmux-util.patch
1 --- a/arch/mips/ralink/mt7620.c
2 +++ b/arch/mips/ralink/mt7620.c
3 @@ -176,7 +176,7 @@
4
5 static struct rt2880_pmx_func spis_grp_mt7628[] = {
6 FUNC("pwm", 3, 14, 4),
7 - FUNC("util", 2, 14, 4),
8 + FUNC("utif", 2, 14, 4),
9 FUNC("gpio", 1, 14, 4),
10 FUNC("spis", 0, 14, 4),
11 };
12 @@ -190,28 +190,28 @@
13
14 static struct rt2880_pmx_func p4led_kn_grp_mt7628[] = {
15 FUNC("jtag", 3, 30, 1),
16 - FUNC("util", 2, 30, 1),
17 + FUNC("utif", 2, 30, 1),
18 FUNC("gpio", 1, 30, 1),
19 FUNC("p4led_kn", 0, 30, 1),
20 };
21
22 static struct rt2880_pmx_func p3led_kn_grp_mt7628[] = {
23 FUNC("jtag", 3, 31, 1),
24 - FUNC("util", 2, 31, 1),
25 + FUNC("utif", 2, 31, 1),
26 FUNC("gpio", 1, 31, 1),
27 FUNC("p3led_kn", 0, 31, 1),
28 };
29
30 static struct rt2880_pmx_func p2led_kn_grp_mt7628[] = {
31 FUNC("jtag", 3, 32, 1),
32 - FUNC("util", 2, 32, 1),
33 + FUNC("utif", 2, 32, 1),
34 FUNC("gpio", 1, 32, 1),
35 FUNC("p2led_kn", 0, 32, 1),
36 };
37
38 static struct rt2880_pmx_func p1led_kn_grp_mt7628[] = {
39 FUNC("jtag", 3, 33, 1),
40 - FUNC("util", 2, 33, 1),
41 + FUNC("utif", 2, 33, 1),
42 FUNC("gpio", 1, 33, 1),
43 FUNC("p1led_kn", 0, 33, 1),
44 };
45 @@ -232,28 +232,28 @@
46
47 static struct rt2880_pmx_func p4led_an_grp_mt7628[] = {
48 FUNC("jtag", 3, 39, 1),
49 - FUNC("util", 2, 39, 1),
50 + FUNC("utif", 2, 39, 1),
51 FUNC("gpio", 1, 39, 1),
52 FUNC("p4led_an", 0, 39, 1),
53 };
54
55 static struct rt2880_pmx_func p3led_an_grp_mt7628[] = {
56 FUNC("jtag", 3, 40, 1),
57 - FUNC("util", 2, 40, 1),
58 + FUNC("utif", 2, 40, 1),
59 FUNC("gpio", 1, 40, 1),
60 FUNC("p3led_an", 0, 40, 1),
61 };
62
63 static struct rt2880_pmx_func p2led_an_grp_mt7628[] = {
64 FUNC("jtag", 3, 41, 1),
65 - FUNC("util", 2, 41, 1),
66 + FUNC("utif", 2, 41, 1),
67 FUNC("gpio", 1, 41, 1),
68 FUNC("p2led_an", 0, 41, 1),
69 };
70
71 static struct rt2880_pmx_func p1led_an_grp_mt7628[] = {
72 FUNC("jtag", 3, 42, 1),
73 - FUNC("util", 2, 42, 1),
74 + FUNC("utif", 2, 42, 1),
75 FUNC("gpio", 1, 42, 1),
76 FUNC("p1led_an", 0, 42, 1),
77 };