From 287283e6e3fb33743e1b2325f929bdf75fd7bf80 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 13 Jan 2017 05:41:18 +0100 Subject: [PATCH] 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 Signed-off-by: Daniel Golle --- .../200-rt3883-fix-pinctrl-typo.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 target/linux/ramips/patches-4.4/200-rt3883-fix-pinctrl-typo.patch 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 000000000000..f784d85fd631 --- /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 +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 +--- + 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 + -- 2.30.2