[U-Boot-Users] udc_endpoint_write

Ulf Luecking ulf.luecking at freenet.de
Fri Mar 14 00:31:03 CET 2008


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





More information about the U-Boot mailing list