aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-10-24 12:11:56 -0400
committerLinus Walleij <linus.walleij@linaro.org>2011-10-25 04:43:57 -0400
commitad7761ab3adc03fbf2cca8e3c84344175d876c40 (patch)
tree10677cfa52d28568872695d081248676b6dc8188 /drivers/pinctrl
parent5d2eaf8090874f8e65388e82f7e91f9cef74885e (diff)
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinmux-sirf.c2
1 files changed, 1 insertions, 1 deletions
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,
870 870
871static int sirfsoc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, 871static int sirfsoc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector,
872 const unsigned **pins, 872 const unsigned **pins,
873 const unsigned *num_pins) 873 unsigned *num_pins)
874{ 874{
875 if (selector >= ARRAY_SIZE(sirfsoc_pin_groups)) 875 if (selector >= ARRAY_SIZE(sirfsoc_pin_groups))
876 return -EINVAL; 876 return -EINVAL;