Re: [PATCH 2/2] [AVR32] Fix typo in atmel_usba_udc.c

From: Hans-Christian Egtvedt
Date: Mon Nov 22 2010 - 02:20:05 EST


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@xxxxxxxxxxxxxx>
> ---
> 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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/