diff mbox series

pinctrl: keembay: Fixed missing member check

Message ID 20240613-fix-keembay-v1-1-5c188f900214@linaro.org
State New
Headers show
Series pinctrl: keembay: Fixed missing member check | expand

Commit Message

Linus Walleij June 13, 2024, 8:09 a.m. UTC
A bug in a refactoring caused a build failure, fix it up.

Fixes: 15d34374182a ("pinctrl: pinmux: Remove unused members from struct function_desc")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/pinctrl/pinctrl-keembay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


---
base-commit: 1e37f761d0163cf99567fb81d9c59860ef255d9d
change-id: 20240613-fix-keembay-c755f3095961

Best regards,
diff mbox series

Patch

diff --git a/drivers/pinctrl/pinctrl-keembay.c b/drivers/pinctrl/pinctrl-keembay.c
index 245a74ed97ee..b693f4787044 100644
--- a/drivers/pinctrl/pinctrl-keembay.c
+++ b/drivers/pinctrl/pinctrl-keembay.c
@@ -1627,7 +1627,7 @@  static int keembay_build_functions(struct keembay_pinctrl *kpc)
 			}
 
 			/* Setup new function for this mux we didn't see before */
-			if (!fdesc->name) {
+			if (!fdesc->func.name) {
 				fdesc->func.name = mux->name;
 				fdesc->func.ngroups = 1;
 				fdesc->data = &mux->mode;