summaryrefslogtreecommitdiff
path: root/drivers/usb/usbdcore_omap1510.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-12-07 09:45:35 +0100
committerRemy Böhmer <linux@bohmer.net>2008-12-09 21:12:41 +0100
commitdedacc18a8c2b3951581eb721fa055a4e0ac4845 (patch)
treec45225a251c7fbc224329f1d1b8db8187ff06003 /drivers/usb/usbdcore_omap1510.c
parent13d36ec849785453953d00220b2c7dc66644a3c2 (diff)
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/usbdcore_omap1510.c')
-rw-r--r--drivers/usb/usbdcore_omap1510.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/usbdcore_omap1510.c b/drivers/usb/usbdcore_omap1510.c
index cb9dc442e..6b7b61b32 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 */