diff options
author | Josh Wu <josh.wu@atmel.com> | 2010-11-16 11:51:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-09 13:26:54 -0800 |
commit | 903fdaaa174b81246c0a74a1c46502cce9d3a66f (patch) | |
tree | 8b05b19255ce1253ef92957061641c76c0df06c1 /drivers/usb/gadget/atmel_usba_udc.c | |
parent | 2d325d38fbced76120c9df96d535961ef2c65170 (diff) |
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 <josh.wu@atmel.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/atmel_usba_udc.c')
-rw-r--r-- | 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 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; } } |