From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 6 Mar 2012 01:15:54 +0100 Subject: [U-Boot] [PATCH] usb: replace wait_ms() with mdelay() In-Reply-To: <1330991220-10026-1-git-send-email-vapier@gentoo.org> References: <1330991220-10026-1-git-send-email-vapier@gentoo.org> Message-ID: <201203060115.54955.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, > Common code has a mdelay() func, so use that instead of the usb-specific > wait_ms() func. This also fixes the build errors: > > ohci-hcd.c: In function 'submit_common_msg': > /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: > inlining failed in call to 'wait_ms': function body not available > ohci-hcd.c:1519:9: sorry, unimplemented: called from here > /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: > inlining failed in call to 'wait_ms': function body not available > ohci-hcd.c:1816:10: sorry, unimplemented: called from here > /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: > inlining failed in call to 'wait_ms': function body not available > ohci-hcd.c:1827:10: sorry, unimplemented: called from here > /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: > inlining failed in call to 'wait_ms': function body not available > ohci-hcd.c:1844:10: sorry, unimplemented: called from here > /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: > inlining failed in call to 'wait_ms': function body not available > ohci-hcd.c:1563:11: sorry, unimplemented: called from here > /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: > inlining failed in call to 'wait_ms': function body not available > ohci-hcd.c:1583:9: sorry, unimplemented: called from here > make[1]: *** [ohci-hcd.o] Error 1 > > Signed-off-by: Mike Frysinger Acked-by: Marek Vasut Thanks for your patch, it's on it's way to application :) Best regards, Marek Vasut