[PATCH 2/7] pinctrl: equilibrium: Fix type in .pin_config_group_get() callback

Geert Uytterhoeven
2026-04-30T15:33:52Z

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

diff --git a/drivers/pinctrl/pinctrl-equilibrium.c b/drivers/pinctrl/pinctrl-equilibrium.c
index ba1c867b7b891abb..349eb944b4ac880e 100644
--- a/drivers/pinctrl/pinctrl-equilibrium.c
+++ b/drivers/pinctrl/pinctrl-equilibrium.c
@@ -532,8 +532,9 @@ static int eqbr_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin,
static int eqbr_pinconf_group_get(struct pinctrl_dev *pctldev,
unsigned int group, unsigned long *config)
{
- unsigned int i, npins, old = 0;
const unsigned int *pins;
+ unsigned int i, npins;
+ unsigned long old = 0;
int ret;