[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1290410384.2833.27.camel@hcegtvedt>
Date: Mon, 22 Nov 2010 08:19:44 +0100
From: Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>
To: Sven Schnelle <svens@...ckframe.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] [AVR32] Fix typo in atmel_usba_udc.c
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@...ckframe.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists