summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/atmel_usba_udc.c
diff options
context:
space:
mode:
authorJosh Wu <josh.wu@atmel.com>2010-11-16 11:51:32 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-16 13:36:41 -0800
commitb48809518631880207796b4aab0fc39c2f036754 (patch)
treef5dd5d2a7348b33e46b557b94050907e185d98f5 /drivers/usb/gadget/atmel_usba_udc.c
parentf52022b53bac3228620e490abbe2ccb1e87ab060 (diff)
downloadop-kernel-dev-b48809518631880207796b4aab0fc39c2f036754.zip
op-kernel-dev-b48809518631880207796b4aab0fc39c2f036754.tar.gz
USB: gadget: AT91: fix typo in atmel_usba_udc driver
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.c2
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;
}
}
OpenPOWER on IntegriCloud