1 --- a/drivers/bcma/scan.c
2 +++ b/drivers/bcma/scan.c
3 @@ -458,15 +458,18 @@ int bcma_bus_scan(struct bcma_bus *bus)
6 err = bcma_get_next_core(bus, &eromptr, NULL, core_num, core);
7 - if (err == -ENODEV) {
10 - } else if (err == -ENXIO)
12 - else if (err == -ESPIPE)
17 + if (err == -ENODEV) {
20 + } else if (err == -ENXIO) {
22 + } else if (err == -ESPIPE) {
28 core->core_index = core_num++;