Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- common/blspec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/blspec.c b/common/blspec.c index a564602..dd8ec4b 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -317,6 +317,8 @@ int blspec_scan_device(struct blspec *blspec, struct device_d *dev) pr_debug("%s: %s\n", __func__, dev_name(dev)); + device_detect(dev); + list_for_each_entry(cdev, &dev->cdevs, devices_list) { /* * If the OS is installed on a disk with MBR disk label, and a @@ -374,8 +376,6 @@ int blspec_scan_hwdevice(struct blspec *blspec, const char *devname) if (!dev) return -ENODEV; - device_detect(dev); - blspec_scan_device(blspec, dev); return 0; -- 1.8.4.rc3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox