Skip to content

Commit

Permalink
pinctrl/sirf: fix sirfsoc_get_group_pins prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD authored and Linus Walleij committed Oct 25, 2011
1 parent 5d2eaf8 commit ad7761a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/pinmux-sirf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ad7761a

Please sign in to comment.