Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad7761ab authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD Committed by Linus Walleij
Browse files

pinctrl/sirf: fix sirfsoc_get_group_pins prototype



fix sirfsoc_get_group_pins prototype introduced in 7e570f97, we
missed to de-constify a pointer.

Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5d2eaf80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -870,7 +870,7 @@ static const char *sirfsoc_get_group_name(struct pinctrl_dev *pctldev,

static int sirfsoc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector,
			       const unsigned **pins,
			       const unsigned *num_pins)
			       unsigned *num_pins)
{
	if (selector >= ARRAY_SIZE(sirfsoc_pin_groups))
		return -EINVAL;