On Mon, Oct 23, 2017 at 11:26:31PM +0200, Heinrich Schuchardt wrote: > The appended config leads to: > > common/usb_storage.c: In function ‘usb_stor_probe_device’: > common/usb_storage.c:208:32: error: ‘struct usb_device’ has no member > named ‘dev’; did you mean ‘devnum’? > data = dev_get_platdata(udev->dev); > ^~~ > devnum > common/usb_storage.c:218:34: error: ‘struct usb_device’ has no member > named ‘dev’; did you mean ‘devnum’? > ret = blk_create_devicef(udev->dev, "usb_storage_blk", str, > ^~~ > devnum > > It seems that a dependency on CONFIG_DM_USB is missing.
Yes, this is part of the iMX DM_MMC issue. If you have BLK enabled (and you want it), you need DM_USB. But this isn't expressable today because we don't have USB gadget DM, iirc, so it would switch some boards from gadget to host USB. -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot