From: Josh Wu Date: Tue, 16 Nov 2010 10:51:32 +0000 (+0100) Subject: USB: gadget: AT91: fix typo in atmel_usba_udc driver X-Git-Tag: v2.6.32.27~64 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=903fdaaa174b81246c0a74a1c46502cce9d3a66f;p=karo-tx-linux.git USB: gadget: AT91: fix typo in atmel_usba_udc driver commit b48809518631880207796b4aab0fc39c2f036754 upstream. compile fix for bug introduced by 969affff547027) Signed-off-by: Josh Wu Cc: Jiri Kosina Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index 23d4ce372a47..946cbcfbcfbf 100644 --- a/drivers/usb/gadget/atmel_usba_udc.c +++ b/drivers/usb/gadget/atmel_usba_udc.c @@ -2015,7 +2015,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; } }