diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-12-07 08:45:35 (GMT) |
---|---|---|
committer | Remy Böhmer <linux@bohmer.net> | 2008-12-09 20:12:41 (GMT) |
commit | dedacc18a8c2b3951581eb721fa055a4e0ac4845 (patch) | |
tree | c45225a251c7fbc224329f1d1b8db8187ff06003 /drivers/usb | |
parent | 13d36ec849785453953d00220b2c7dc66644a3c2 (diff) | |
download | u-boot-fsl-qoriq-dedacc18a8c2b3951581eb721fa055a4e0ac4845.tar.xz |
usbtty/omap: update to current API
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Remy Böhmer <linux@bohmer.net>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/usbdcore_omap1510.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/usbdcore_omap1510.c b/drivers/usb/usbdcore_omap1510.c index cb9dc44..6b7b61b 100644 --- a/drivers/usb/usbdcore_omap1510.c +++ b/drivers/usb/usbdcore_omap1510.c @@ -1061,7 +1061,7 @@ void omap1510_udc_noniso_irq (void) */ /* Called to start packet transmission. */ -void udc_endpoint_write (struct usb_endpoint_instance *endpoint) +int udc_endpoint_write (struct usb_endpoint_instance *endpoint) { unsigned short epnum = endpoint->endpoint_address & USB_ENDPOINT_NUMBER_MASK; @@ -1078,6 +1078,8 @@ void udc_endpoint_write (struct usb_endpoint_instance *endpoint) /* deselect the endpoint FIFO */ outw (UDC_EP_Dir | epnum, UDC_EP_NUM); } + + return 0; } /* Start to initialize h/w stuff */ |