1 --- a/drivers/bcma/scan.c
2 +++ b/drivers/bcma/scan.c
3 @@ -462,8 +462,10 @@ int bcma_bus_scan(struct bcma_bus *bus)
4 while (eromptr < eromend) {
5 struct bcma_device *other_core;
6 struct bcma_device *core = kzalloc(sizeof(*core), GFP_KERNEL);
13 INIT_LIST_HEAD(&core->list);
16 @@ -478,7 +480,7 @@ int bcma_bus_scan(struct bcma_bus *bus)
17 } else if (err == -ESPIPE) {
24 core->core_index = core_num++;
25 @@ -494,10 +496,12 @@ int bcma_bus_scan(struct bcma_bus *bus)
26 list_add_tail(&core->list, &bus->cores);
31 if (bus->hosttype == BCMA_HOSTTYPE_SOC)
38 int __init bcma_bus_scan_early(struct bcma_bus *bus,
39 @@ -537,7 +541,7 @@ int __init bcma_bus_scan_early(struct bc
40 else if (err == -ESPIPE)
46 core->core_index = core_num++;
48 @@ -551,6 +555,7 @@ int __init bcma_bus_scan_early(struct bc
53 if (bus->hosttype == BCMA_HOSTTYPE_SOC)