[PATCH 6/7] pinctrl: renesas: rzv2m: Fix type in .pin_config_group_get() callback

Geert Uytterhoeven
2026-04-30T15:34:13Z

drivers/pinctrl/renesas/pinctrl-rzv2m.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/pinctrl/renesas/pinctrl-rzv2m.c b/drivers/pinctrl/renesas/pinctrl-rzv2m.c
index 495e7f5d41280dc9..827b3e91a6cc2622 100644
--- a/drivers/pinctrl/renesas/pinctrl-rzv2m.c
+++ b/drivers/pinctrl/renesas/pinctrl-rzv2m.c
@@ -695,8 +695,9 @@ static int rzv2m_pinctrl_pinconf_group_get(struct pinctrl_dev *pctldev,
unsigned int group,
unsigned long *config)
{
+ unsigned long prev_config = 0;
const unsigned int *pins;
- unsigned int i, npins, prev_config = 0;
+ unsigned int i, npins;
int ret;