]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: ralink: Fix a typo in the pinmux setup.
authorJohn Crispin <john@phrozen.org>
Tue, 20 Dec 2016 18:12:43 +0000 (19:12 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Jan 2017 15:34:47 +0000 (16:34 +0100)
There is a typo inside the pinmux setup code. The function is really
called utif and not util. This was recently discovered when people were
trying to make the UTIF interface work.

Signed-off-by: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14899/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ralink/mt7620.c

index 2503878824b882449f8082e85b52f51c3bb6619d..76416b48756499a18b3a1ec5bb75dd1aaa00b2f2 100644 (file)
@@ -180,7 +180,7 @@ static struct rt2880_pmx_func spi_cs1_grp_mt7628[] = {
 
 static struct rt2880_pmx_func spis_grp_mt7628[] = {
        FUNC("pwm_uart2", 3, 14, 4),
-       FUNC("util", 2, 14, 4),
+       FUNC("utif", 2, 14, 4),
        FUNC("gpio", 1, 14, 4),
        FUNC("spis", 0, 14, 4),
 };
@@ -194,28 +194,28 @@ static struct rt2880_pmx_func gpio_grp_mt7628[] = {
 
 static struct rt2880_pmx_func p4led_kn_grp_mt7628[] = {
        FUNC("jtag", 3, 30, 1),
-       FUNC("util", 2, 30, 1),
+       FUNC("utif", 2, 30, 1),
        FUNC("gpio", 1, 30, 1),
        FUNC("p4led_kn", 0, 30, 1),
 };
 
 static struct rt2880_pmx_func p3led_kn_grp_mt7628[] = {
        FUNC("jtag", 3, 31, 1),
-       FUNC("util", 2, 31, 1),
+       FUNC("utif", 2, 31, 1),
        FUNC("gpio", 1, 31, 1),
        FUNC("p3led_kn", 0, 31, 1),
 };
 
 static struct rt2880_pmx_func p2led_kn_grp_mt7628[] = {
        FUNC("jtag", 3, 32, 1),
-       FUNC("util", 2, 32, 1),
+       FUNC("utif", 2, 32, 1),
        FUNC("gpio", 1, 32, 1),
        FUNC("p2led_kn", 0, 32, 1),
 };
 
 static struct rt2880_pmx_func p1led_kn_grp_mt7628[] = {
        FUNC("jtag", 3, 33, 1),
-       FUNC("util", 2, 33, 1),
+       FUNC("utif", 2, 33, 1),
        FUNC("gpio", 1, 33, 1),
        FUNC("p1led_kn", 0, 33, 1),
 };
@@ -236,28 +236,28 @@ static struct rt2880_pmx_func wled_kn_grp_mt7628[] = {
 
 static struct rt2880_pmx_func p4led_an_grp_mt7628[] = {
        FUNC("jtag", 3, 39, 1),
-       FUNC("util", 2, 39, 1),
+       FUNC("utif", 2, 39, 1),
        FUNC("gpio", 1, 39, 1),
        FUNC("p4led_an", 0, 39, 1),
 };
 
 static struct rt2880_pmx_func p3led_an_grp_mt7628[] = {
        FUNC("jtag", 3, 40, 1),
-       FUNC("util", 2, 40, 1),
+       FUNC("utif", 2, 40, 1),
        FUNC("gpio", 1, 40, 1),
        FUNC("p3led_an", 0, 40, 1),
 };
 
 static struct rt2880_pmx_func p2led_an_grp_mt7628[] = {
        FUNC("jtag", 3, 41, 1),
-       FUNC("util", 2, 41, 1),
+       FUNC("utif", 2, 41, 1),
        FUNC("gpio", 1, 41, 1),
        FUNC("p2led_an", 0, 41, 1),
 };
 
 static struct rt2880_pmx_func p1led_an_grp_mt7628[] = {
        FUNC("jtag", 3, 42, 1),
-       FUNC("util", 2, 42, 1),
+       FUNC("utif", 2, 42, 1),
        FUNC("gpio", 1, 42, 1),
        FUNC("p1led_an", 0, 42, 1),
 };