From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Luecking Date: Thu, 13 Mar 2008 23:31:03 +0000 (UTC) Subject: [U-Boot-Users] udc_endpoint_write Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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