Skip to contentSkip to conversation

udc_endpoint_write

U-Boot-Users Ulf Luecking 1 participant 1 message Mar 13, 2008

lore
Share & tools
lore
#0 lore raw

Hello,
I am new to u-boot code, but there seem to be different versions of "udc_endpoint_write" in drivers/usb/usbdcore_mpc8xx.c and drivers/usb/ usbdcore_omap1510.c.

Trying the configuration for OMAP 1510 with USB tty, the compiler complains 'usbtty.c:1057: error: void value not ignored as it ought to be'.

Grepping for this function returns

drivers/usb/usbdcore_mpc8xx.c:int udc_endpoint_write (struct usb_endpoint_instance *epi)

and

drivers/usb/usbdcore_omap1510.c:void udc_endpoint_write (struct usb_endpoint_instance *endpoint)

Same applies for drivers/usb/usbdcore_s3c2410.c when using OpenMoko patches.

BR,
Ulf