[PATCH TRIVIAL] AT91: usb: fix typo in atmel_usba_udc driver

Jiri Kosina jkosina at suse.cz
Tue Nov 16 05:51:32 EST 2010


On Tue, 16 Nov 2010, Josh Wu wrote:

> Signed-off-by: Josh Wu <josh.wu at atmel.com>
> ---
> fix against 2.6.37-rc1
> 
>  drivers/usb/gadget/atmel_usba_udc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c
> index b5e20e8..717ff65 100644
> --- a/drivers/usb/gadget/atmel_usba_udc.c
> +++ b/drivers/usb/gadget/atmel_usba_udc.c
> @@ -2017,7 +2017,7 @@ static int __init usba_udc_probe(struct platform_device *pdev)
>  			}
>  		} else {
>  			/* gpio_request fail so use -EINVAL for gpio_is_valid */
> -			ubc->vbus_pin = -EINVAL;
> +			udc->vbus_pin = -EINVAL;
>  		}
>  	}
>  

As this is a compile fix (for bug introduced by 969affff547027), I am 
adding Greg and linux-usb@ to CC. I usually don't push trivial changes 
more than once per release, but this needs to go in faster.

Greg, could you please take it?

-- 
Jiri Kosina
SUSE Labs, Novell Inc.



More information about the linux-arm-kernel mailing list