aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-01-13 05:41:18 +0100
committerDaniel Golle <daniel@makrotopia.org>2017-01-13 05:44:06 +0100
commit287283e6e3fb33743e1b2325f929bdf75fd7bf80 (patch)
treefef7a17a7c1a2c7211ed92f518f3f919b3c00fd2 /target/linux
parentd1daf3f38d10b0282e7f36f3bc58754b9d99205c (diff)
downloadupstream-287283e6e3fb33743e1b2325f929bdf75fd7bf80.tar.gz
upstream-287283e6e3fb33743e1b2325f929bdf75fd7bf80.tar.bz2
upstream-287283e6e3fb33743e1b2325f929bdf75fd7bf80.zip
ramips: rt3883: fix typo in pinctrl lna_g_func
Spotted by forum users https://forum.openwrt.org/viewtopic.php?pid=347439#p347439 Reported-by: Tom Psyborg <pozega.tomislav@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/patches-4.4/200-rt3883-fix-pinctrl-typo.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-4.4/200-rt3883-fix-pinctrl-typo.patch b/target/linux/ramips/patches-4.4/200-rt3883-fix-pinctrl-typo.patch
new file mode 100644
index 0000000000..f784d85fd6
--- /dev/null
+++ b/target/linux/ramips/patches-4.4/200-rt3883-fix-pinctrl-typo.patch
@@ -0,0 +1,26 @@
+From 2583143af8111d430bdca0268b6cdb7ccc7c3f9d Mon Sep 17 00:00:00 2001
+From: Daniel Golle <daniel@makrotopia.org>
+Date: Fri, 13 Jan 2017 05:40:04 +0100
+Subject: [PATCH] mips: ralink/rt3883: fix typo in pinctrl lna_g_func
+
+Signed-off-by: Daniel Golle <daniel@makrotopia.org>
+---
+ arch/mips/ralink/rt3883.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/mips/ralink/rt3883.c b/arch/mips/ralink/rt3883.c
+index 4cef9162bd9b..47f9849bda3a 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),
+--
+2.11.0
+