usb: replace wait_ms() with mdelay()
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 <vapier@gentoo.org> Acked-by:
Marek Vasut <marex@denx.de>
Showing
- arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c 14 additions, 14 deletionsarch/arm/cpu/arm920t/s3c24x0/usb_ohci.c
- arch/arm/cpu/pxa/usb.c 1 addition, 1 deletionarch/arm/cpu/pxa/usb.c
- arch/mips/cpu/mips32/au1x00/au1x00_usb_ohci.c 14 additions, 14 deletionsarch/mips/cpu/mips32/au1x00/au1x00_usb_ohci.c
- arch/powerpc/cpu/mpc5xxx/usb_ohci.c 3 additions, 3 deletionsarch/powerpc/cpu/mpc5xxx/usb_ohci.c
- arch/powerpc/cpu/ppc4xx/usb_ohci.c 3 additions, 3 deletionsarch/powerpc/cpu/ppc4xx/usb_ohci.c
- arch/sparc/cpu/leon3/usb_uhci.c 4 additions, 4 deletionsarch/sparc/cpu/leon3/usb_uhci.c
- board/efikamx/efikamx-usb.c 1 addition, 1 deletionboard/efikamx/efikamx-usb.c
- board/mcc200/auto_update.c 2 additions, 2 deletionsboard/mcc200/auto_update.c
- board/mpl/common/usb_uhci.c 4 additions, 4 deletionsboard/mpl/common/usb_uhci.c
- board/renesas/sh7785lcr/selfcheck.c 2 additions, 8 deletionsboard/renesas/sh7785lcr/selfcheck.c
- common/usb.c 3 additions, 13 deletionscommon/usb.c
- common/usb_hub.c 5 additions, 5 deletionscommon/usb_hub.c
- common/usb_storage.c 8 additions, 8 deletionscommon/usb_storage.c
- drivers/usb/host/ehci-hcd.c 2 additions, 2 deletionsdrivers/usb/host/ehci-hcd.c
- drivers/usb/host/isp116x-hcd.c 6 additions, 6 deletionsdrivers/usb/host/isp116x-hcd.c
- drivers/usb/host/ohci-hcd.c 14 additions, 14 deletionsdrivers/usb/host/ohci-hcd.c
- drivers/usb/host/r8a66597-hcd.c 7 additions, 7 deletionsdrivers/usb/host/r8a66597-hcd.c
- include/usb.h 0 additions, 1 deletioninclude/usb.h
Loading
Please register or sign in to comment