pinctrl/sirf: fix sirfsoc_get_group_pins prototype
Jean-Christophe PLAGNIOL-VILLARD [Mon, 24 Oct 2011 16:11:56 +0000 (00:11 +0800)]
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>

drivers/pinctrl/pinmux-sirf.c

index ba73523..d76cae6 100644 (file)
@@ -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;