[U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

Tom Rini trini at konsulko.com
Sun Jul 14 13:07:42 UTC 2019


On Mon, May 27, 2019 at 09:22:00PM -0500, Derald D. Woods wrote:

> This commit addresses the following warning, when _NOT_ USB_MUSB_HOST:
> 
> [...]
>   CC      drivers/usb/gadget/f_mass_storage.o
>   CC      drivers/usb/musb-new/omap2430.o
>   CC      drivers/usb/gadget/f_fastboot.o
>   CC      env/common.o
>   CC      env/env.o
> /src/etinker/software/u-boot-master/drivers/usb/musb-new/omap2430.c: In function ‘omap2430_musb_probe’:
> /src/etinker/software/u-boot-master/drivers/usb/musb-new/omap2430.c:239:6: warning: assignment to ‘int’ from ‘struct musb *’ makes integer from pointer without a cast [-Wint-conversion]
>   ret = musb_register(&platdata->plat,
>       ^
>   LD      drivers/usb/host/built-in.o
>   CC      drivers/usb/gadget/f_sdp.o
>   CC      fs/ext4/ext4fs.o
> [...]
> 
> Signed-off-by: Derald D. Woods <woods.technical at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190714/55d59fe1/attachment.sig>


More information about the U-Boot mailing list