X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fusbdcore_omap1510.h;h=ece0e95b61d0e65394f3495de830836b21a56f65;hb=6d27bca15d445fcf07d6e7e30ced95c945c875ea;hp=526fcd920db32fc1f8f6d1d77cbc0755462ec09c;hpb=d1bc6c8d5f4a9c7ca9fb2292d5c65f846dcc3995;p=oweals%2Fu-boot.git diff --git a/include/usbdcore_omap1510.h b/include/usbdcore_omap1510.h index 526fcd920d..ece0e95b61 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);