From: Chukun Pan Date: Fri, 26 Sep 2025 15:02:15 +0000 (+0800) Subject: airoha: fix pinctrl driver function bug X-Git-Tag: v25.12.0-rc1~1141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=646ccf6076358466df85d76fef51ac7a016ba17b;p=thirdparty%2Fopenwrt.git airoha: fix pinctrl driver function bug The pinctrl driver for airoha was expecting a function name that was not a string, but was passed one. Removing #string fixed this issue. Fixes: c5b12fc ("airoha: Introduce support for Airoha AN7583 SoC") Signed-off-by: Chukun Pan Link: https://github.com/openwrt/openwrt/pull/20190 Signed-off-by: Christian Marangi --- diff --git a/target/linux/airoha/patches-6.12/120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch b/target/linux/airoha/patches-6.12/120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch index 61989bc00bc..b2b7e14eebe 100644 --- a/target/linux/airoha/patches-6.12/120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch +++ b/target/linux/airoha/patches-6.12/120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch @@ -32,9 +32,10 @@ Signed-off-by: Christian Marangi { \ .desc = { \ .func = { \ - .name = #id, \ +- .name = #id, \ - .groups = id##_groups, \ - .ngroups = ARRAY_SIZE(id##_groups), \ ++ .name = id, \ + .groups = table##_groups, \ + .ngroups = ARRAY_SIZE(table##_groups), \ } \