aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bcma')
-rw-r--r--drivers/bcma/scan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bcma/scan.c b/drivers/bcma/scan.c
index 3bc3ec26fd0e..5672b13d0951 100644
--- a/drivers/bcma/scan.c
+++ b/drivers/bcma/scan.c
@@ -491,7 +491,7 @@ int bcma_bus_scan(struct bcma_bus *bus)
491 core->id.manuf, core->id.id, core->id.rev, 491 core->id.manuf, core->id.id, core->id.rev,
492 core->id.class); 492 core->id.class);
493 493
494 list_add(&core->list, &bus->cores); 494 list_add_tail(&core->list, &bus->cores);
495 } 495 }
496 496
497 if (bus->hosttype == BCMA_HOSTTYPE_SOC) 497 if (bus->hosttype == BCMA_HOSTTYPE_SOC)
@@ -546,7 +546,7 @@ int __init bcma_bus_scan_early(struct bcma_bus *bus,
546 core->id.manuf, core->id.id, core->id.rev, 546 core->id.manuf, core->id.id, core->id.rev,
547 core->id.class); 547 core->id.class);
548 548
549 list_add(&core->list, &bus->cores); 549 list_add_tail(&core->list, &bus->cores);
550 err = 0; 550 err = 0;
551 break; 551 break;
552 } 552 }