Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> --- drivers/base/driver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/base/driver.c b/drivers/base/driver.c index a81a9ba..6c8fd05 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -423,9 +423,12 @@ static int do_devinfo(int argc, char *argv[]) res->start, resource_size(res)); } - printf("driver: %s\n\n", dev->driver ? + printf("driver: %s\n", dev->driver ? dev->driver->name : "none"); + printf("bus: %s\n\n", dev->bus ? + dev->bus->name : "none"); + if (dev->driver) dev->driver->info(dev); -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox