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

From: Jiri Kosina
Date: Tue Nov 16 2010 - 05:51:39 EST


On Tue, 16 Nov 2010, Josh Wu wrote:

> Signed-off-by: Josh Wu <josh.wu@xxxxxxxxx>
> ---
> 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.
--
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/