USB: gadget: AT91: fix typo in atmel_usba_udc driver

compile fix for bug introduced by 969affff54)

Signed-off-by: Josh Wu <[email protected]>
Cc: Jiri Kosina <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Josh Wu 2010-11-16 11:51:32 +01:00 • committed by Greg Kroah-Hartman
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;
}
}