lkml.org 
[lkml]   [2010]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] [AVR32] Fix typo in atmel_usba_udc.c
From
Date
On Mon, 2010-11-22 at 00:28 +0100, Sven Schnelle wrote: 
> It should be 'udc' not 'ubc' in usba_udc_probe()
>
> Signed-off-by: Sven Schnelle <svens@stackframe.org>
> ---
> 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;

Nice catch, please send this through the USB mailing list, it is not
specific to AVR32.

--
Hans-Christian Egtvedt




\
 
 \ /
  Last update: 2010-11-22 08:23    [W:0.082 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site