From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 23 Oct 2017 17:39:52 -0400 Subject: [U-Boot] =?utf-8?q?usb=3A_storage=3A_error=3A_=E2=80=98struct_usb?= =?utf-8?b?X2RldmljZeKAmSBoYXMgbm8gbWVtYmVyIG5hbWVkIOKAmGRlduKAmQ==?= In-Reply-To: References: Message-ID: <20171023213952.GE22919@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: