From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ismael Luceno Cortes Date: Thu, 14 Mar 2019 11:44:29 +0000 Subject: [U-Boot] [PATCH] usb: host: Print device name when scanning In-Reply-To: <20190218092353.4710-1-ismael.luceno@silicon-gears.com> References: <20190218092353.4710-1-ismael.luceno@silicon-gears.com> Message-ID: <20190314114429.GA3468@kiki> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 18/Feb/2019 09:23, Ismael Luceno Cortes wrote: > Signed-off-by: Ismael Luceno > --- > drivers/usb/host/usb-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c > index 611ea97a72..0575f5393b 100644 > --- a/drivers/usb/host/usb-uclass.c > +++ b/drivers/usb/host/usb-uclass.c > @@ -255,7 +255,7 @@ int usb_init(void) > > uclass_foreach_dev(bus, uc) { > /* init low_level USB */ > - printf("USB%d: ", count); > + printf("USB%d(%s): ", count, bus->name); > count++; > > #ifdef CONFIG_SANDBOX > -- > 2.19.1 Ping.