]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
USB: gadget: AT91: fix typo in atmel_usba_udc driver
authorJosh Wu <josh.wu@atmel.com>
Tue, 16 Nov 2010 10:51:32 +0000 (11:51 +0100)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:12 +0000 (23:40 +0100)
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/usb/gadget/atmel_usba_udc.c

index 959f0624fe0dc5864b15a7d18c181f29a4cbe034..2d19d88846efd7951e7185d759868c8b778b3e17 100644 (file)
@@ -2016,7 +2016,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;
                }
        }