summaryrefslogtreecommitdiff
path: root/include/usbdcore_omap1510.h
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 /include/usbdcore_omap1510.h
parent13d36ec849785453953d00220b2c7dc66644a3c2 (diff)
downloadu-boot-imx-dedacc18a8c2b3951581eb721fa055a4e0ac4845.zip
u-boot-imx-dedacc18a8c2b3951581eb721fa055a4e0ac4845.tar.gz
u-boot-imx-dedacc18a8c2b3951581eb721fa055a4e0ac4845.tar.bz2
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 'include/usbdcore_omap1510.h')
-rw-r--r--include/usbdcore_omap1510.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/usbdcore_omap1510.h b/include/usbdcore_omap1510.h
index 526fcd9..ece0e95 100644
--- a/include/usbdcore_omap1510.h
+++ b/include/usbdcore_omap1510.h
@@ -168,8 +168,8 @@
#define UDC_IN_ENDPOINT 1
#define UDC_IN_PACKET_SIZE 64
#define UDC_INT_ENDPOINT 5
-#define UDC_INT_PKTSIZE 16
-#define UDC_BULK_PKTSIZE 16
+#define UDC_INT_PACKET_SIZE 16
+#define UDC_BULK_PACKET_SIZE 16
void udc_irq (void);
/* Flow control */
@@ -177,7 +177,7 @@ void udc_set_nak(int epid);
void udc_unset_nak (int epid);
/* Higher level functions for abstracting away from specific device */
-void udc_endpoint_write(struct usb_endpoint_instance *endpoint);
+int udc_endpoint_write(struct usb_endpoint_instance *endpoint);
int udc_init (void);