
14 Mar
2008
14 Mar
'08
12:31 a.m.
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