[PATCH 1/1] pinctrl/sirf: fix sirfsoc_get_group_pins prototype introduce in 7e570f97

Stephen Warren swarren at nvidia.com
Tue Oct 25 00:07:33 EDT 2011


Jean-Christophe PLAGNIOL-VILLARD wrote at Monday, October 24, 2011 10:12 AM:
...
> diff --git a/drivers/pinctrl/pinmux-sirf.c b/drivers/pinctrl/pinmux-sirf.c
> index ba73523..d76cae6 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;

Acked-by: Stephen Warren <swarren at nvidia.com>

That'll teach me to only test-compile for U300 and not Sirf... I thought
I'd made the same change to each, but I screwed up Sirf.

-- 
nvpublic




More information about the linux-arm-kernel mailing list