ramips: DIR-860L-B1 fix switch port numbering
[openwrt/openwrt.git] / target / linux / ramips / patches-4.4 / 0082-MIPS-ralink-fix-MT7628-pinmux-typos.patch
1 From d7146829c9da24e285cb1b1f2156b5b3e2d40c07 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Thu, 19 May 2016 22:07:34 +0200
4 Subject: [PATCH] MIPS: ralink: fix MT7628 pinmux typos
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 Cc: john@phrozen.org
11 Cc: linux-mips@linux-mips.org
12 Cc: linux-kernel@vger.kernel.org
13 Patchwork: https://patchwork.linux-mips.org/patch/13306/
14 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 ---
16 arch/mips/ralink/mt7620.c | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19 --- a/arch/mips/ralink/mt7620.c
20 +++ b/arch/mips/ralink/mt7620.c
21 @@ -223,9 +223,9 @@ static struct rt2880_pmx_func wled_an_gr
22 #define MT7628_GPIO_MODE_GPIO 0
23
24 static struct rt2880_pmx_group mt7628an_pinmux_data[] = {
25 - GRP_G("pmw1", pwm1_grp_mt7628, MT7628_GPIO_MODE_MASK,
26 + GRP_G("pwm1", pwm1_grp_mt7628, MT7628_GPIO_MODE_MASK,
27 1, MT7628_GPIO_MODE_PWM1),
28 - GRP_G("pmw0", pwm0_grp_mt7628, MT7628_GPIO_MODE_MASK,
29 + GRP_G("pwm0", pwm0_grp_mt7628, MT7628_GPIO_MODE_MASK,
30 1, MT7628_GPIO_MODE_PWM0),
31 GRP_G("uart2", uart2_grp_mt7628, MT7628_GPIO_MODE_MASK,
32 1, MT7628_GPIO_MODE_UART2),