| From 987aa9c15fe8a25e08027575c6555f3374f6fbe4 Mon Sep 17 00:00:00 2001 |
| From: John Crispin <john@phrozen.org> |
| Date: Sat, 25 Feb 2017 11:54:23 +0100 |
| Subject: [PATCH] MIPS: ralink: Fix typos in rt3883 pinctrl |
| |
| commit 7c5a3d813050ee235817b0220dd8c42359a9efd8 upstream. |
| |
| There are two copy & paste errors in the definition of the 5GHz LNA and |
| second ethernet pinmux. |
| |
| Fixes: f576fb6a0700 ("MIPS: ralink: cleanup the soc specific pinmux data") |
| Signed-off-by: John Crispin <john@phrozen.org> |
| Signed-off-by: Daniel Golle <daniel@makrotopia.org> |
| Cc: linux-mips@linux-mips.org |
| Cc: <stable@vger.kernel.org> # 3.19.x- |
| Patchwork: https://patchwork.linux-mips.org/patch/15328/ |
| Signed-off-by: James Hogan <james.hogan@imgtec.com> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/arch/mips/ralink/rt3883.c b/arch/mips/ralink/rt3883.c |
| index 3e0aa09c6b55..9e4631acfcb5 100644 |
| --- a/arch/mips/ralink/rt3883.c |
| +++ b/arch/mips/ralink/rt3883.c |
| @@ -36,7 +36,7 @@ static struct rt2880_pmx_func uartlite_func[] = { FUNC("uartlite", 0, 15, 2) }; |
| static struct rt2880_pmx_func jtag_func[] = { FUNC("jtag", 0, 17, 5) }; |
| static struct rt2880_pmx_func mdio_func[] = { FUNC("mdio", 0, 22, 2) }; |
| static struct rt2880_pmx_func lna_a_func[] = { FUNC("lna a", 0, 32, 3) }; |
| -static struct rt2880_pmx_func lna_g_func[] = { FUNC("lna a", 0, 35, 3) }; |
| +static struct rt2880_pmx_func lna_g_func[] = { FUNC("lna g", 0, 35, 3) }; |
| static struct rt2880_pmx_func pci_func[] = { |
| FUNC("pci-dev", 0, 40, 32), |
| FUNC("pci-host2", 1, 40, 32), |
| @@ -44,7 +44,7 @@ static struct rt2880_pmx_func pci_func[] = { |
| FUNC("pci-fnc", 3, 40, 32) |
| }; |
| static struct rt2880_pmx_func ge1_func[] = { FUNC("ge1", 0, 72, 12) }; |
| -static struct rt2880_pmx_func ge2_func[] = { FUNC("ge1", 0, 84, 12) }; |
| +static struct rt2880_pmx_func ge2_func[] = { FUNC("ge2", 0, 84, 12) }; |
| |
| static struct rt2880_pmx_group rt3883_pinmux_data[] = { |
| GRP("i2c", i2c_func, 1, RT3883_GPIO_MODE_I2C), |
| -- |
| 2.12.0 |
| |