summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChukun Pan2025-09-26 15:02:15 +0000
committerChristian Marangi2025-09-29 10:05:09 +0000
commit646ccf6076358466df85d76fef51ac7a016ba17b (patch)
treedc1ef00e3c27a7599dd2633b7b71b63034b0595a
parentb125cf42dcaf3c2b941803dd9291460c7e06c4fa (diff)
downloadopenwrt-646ccf6076358466df85d76fef51ac7a016ba17b.tar.gz
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 <amadeus@jmu.edu.cn> Link: https://github.com/openwrt/openwrt/pull/20190 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--target/linux/airoha/patches-6.12/120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch3
1 files changed, 2 insertions, 1 deletions
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 <ansuelsmth@gmail.com>
{ \
.desc = { \
.func = { \
- .name = #id, \
+- .name = #id, \
- .groups = id##_groups, \
- .ngroups = ARRAY_SIZE(id##_groups), \
++ .name = id, \
+ .groups = table##_groups, \
+ .ngroups = ARRAY_SIZE(table##_groups), \
} \