From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 24 Oct 2011 16:11:56 +0000 (+0800) Subject: pinctrl/sirf: fix sirfsoc_get_group_pins prototype X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad7761ab3adc03fbf2cca8e3c84344175d876c40;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Stephen Warren Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinmux-sirf.c b/drivers/pinctrl/pinmux-sirf.c index ba735230d91e..d76cae620956 100644 --- a/drivers/pinctrl/pinmux-sirf.c +++ b/drivers/pinctrl/pinmux-sirf.c @@ -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;