arch: mips: ralink: fix typo in pinctrl lna_g_func
Subsystems (2)
John Crispin
maintainerPATCH 1/1 arch: mips: ralink: fix typo in pinctrl lna_g_func
There is a copy & paste error in the definition of the 5GHz LNA pinmux.
Tested-by John Crispin <[email protected]>
Signed-off-by Daniel Golle <[email protected]>
--- arch/mips/ralink/rt3883.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/ralink/rt3883.c +1 -1
@@ -35,7 +35,7 @@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 ),
Signature · 1 line
1.7.10.4
Hi John,
Quoted 4 lines · John Crispin
There is a copy & paste error in the definition of the 5GHz LNA pinmux.
Tested-by John Crispin <[email protected]>Signed-off-by Daniel Golle <[email protected]>
Can I have your signed off too please.
Quoted 9 lines
--- arch/mips/ralink/rt3883.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/mips/ralink/rt3883.c +0
-0
arch/mips/ralink/rt3883.c line 41
Quoted 8 lines
arch/mips/ralink/rt3883.c +1
-1@@ -35,7 +35,7 @@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 ),
There is at least 1 other typo in this file from that same commit:
static struct rt2880_pmx_func ge2_func[] = { FUNC("ge1", 0, 84, 12) };
Care to fix that one too?
Thanks
James