lkml.org 
[lkml]   [2012]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Correct bad gpio naming
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@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"
> };
>


\
 
 \ /
  Last update: 2012-01-22 20:33    [W:0.071 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site