Commit ad7761ab3adc03fbf2cca8e3c84344175d876c40

Authored by Jean-Christophe PLAGNIOL-VILLARD
Committed by Linus Walleij
1 parent 5d2eaf8090

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 <plagnioj@jcrosoft.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/pinctrl/pinmux-sirf.c
... ... @@ -870,7 +870,7 @@
870 870  
871 871 static int sirfsoc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector,
872 872 const unsigned **pins,
873   - const unsigned *num_pins)
  873 + unsigned *num_pins)
874 874 {
875 875 if (selector >= ARRAY_SIZE(sirfsoc_pin_groups))
876 876 return -EINVAL;