From 646ccf6076358466df85d76fef51ac7a016ba17b Mon Sep 17 00:00:00 2001 From: Chukun Pan Date: Fri, 26 Sep 2025 23:02:15 +0800 Subject: [PATCH] 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 --- ...-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 61989bc00b..b2b7e14eeb 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), \ } \ -- 2.30.2