USB: gadget: AT91: fix typo in atmel_usba_udc driver

compile fix for bug introduced by 969affff54)

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Josh Wu 2010-11-16 11:51:32 +01:00 committed by Greg Kroah-Hartman
parent f52022b53b
commit b488095186

View File

@ -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;
}
}