pinctrl: sunxi: a523: change Ethernet pin function name
authorAndre Przywara <andre.przywara@arm.com>
Wed, 30 Jul 2025 22:38:52 +0000 (23:38 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 11 Aug 2025 23:50:57 +0000 (00:50 +0100)
The name of the pin function was changed last minute in the DT, from
emac0 to gmac0.
Adjust the name we use in the pinctrl driver accordingly.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
drivers/pinctrl/sunxi/pinctrl-sunxi.c

index 03cfe23..fd357ab 100644 (file)
@@ -760,7 +760,7 @@ static const struct sunxi_pinctrl_desc __maybe_unused sun50i_h616_pinctrl_desc =
 };
 
 static const struct sunxi_pinctrl_function sun55i_a523_pinctrl_functions[] = {
-       { "emac0",      5 },    /* PI0-PI16 */
+       { "gmac0",      5 },    /* PI0-PI16 */
        { "gpio_in",    0 },
        { "gpio_out",   1 },
        { "mmc0",       2 },    /* PF0-PF5 */