[PATCH] Correct bad gpio naming

Grant Likely grant.likely at secretlab.ca
Sun Jan 22 14:31:24 EST 2012


On Sun, Jan 22, 2012 at 06:57:57PM +0100, Roland Stigge wrote:
> One of the GPIO names in drivers/gpio/gpio-lpc32xx.c
> was bad. Renaming gpi000 -> gpio00
> 
> Signed-off-by: Roland Stigge <stigge at antcom.de>

Applied.  Careful though, this patch was corrupt (missing carriage
return before 'static' and had to be applied by hand.

g.

> 
> diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c
> index 5b69480..ddfacc5 100644
> --- a/drivers/gpio/gpio-lpc32xx.c
> +++ b/drivers/gpio/gpio-lpc32xx.c
> @@ -96,7 +96,7 @@ static const char *gpio_p2_names[LPC32XX_GPIO_P2_MAX] = {
>  };
>   static const char *gpio_p3_names[LPC32XX_GPIO_P3_MAX] = {
> -	"gpi000", "gpio01", "gpio02", "gpio03",
> +	"gpio00", "gpio01", "gpio02", "gpio03",
>  	"gpio04", "gpio05"
>  };
> 



More information about the linux-arm-kernel mailing list