projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ac4b4
)
bcma: add new cores at the end of list
author
Rafał Miłecki
<
[email protected]
>
Wed, 11 Jul 2012 10:37:00 +0000
(12:37 +0200)
committer
John W. Linville
<
[email protected]
>
Thu, 12 Jul 2012 19:27:18 +0000
(15:27 -0400)
This makes order in list more natural and fixes core->core_unit for more
than 2 cores.
Signed-off-by: Rafał Miłecki <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/bcma/scan.c
patch
|
blob
|
history
diff --git
a/drivers/bcma/scan.c
b/drivers/bcma/scan.c
index 3bc3ec26fd0e652ec52ed48f5dca800d8b94e624..5672b13d09516f0b257b7c3f704c868c8c5c30c4 100644
(file)
--- a/
drivers/bcma/scan.c
+++ b/
drivers/bcma/scan.c
@@
-491,7
+491,7
@@
int bcma_bus_scan(struct bcma_bus *bus)
core->id.manuf, core->id.id, core->id.rev,
core->id.class);
- list_add(&core->list, &bus->cores);
+ list_add
_tail
(&core->list, &bus->cores);
}
if (bus->hosttype == BCMA_HOSTTYPE_SOC)
@@
-546,7
+546,7
@@
int __init bcma_bus_scan_early(struct bcma_bus *bus,
core->id.manuf, core->id.id, core->id.rev,
core->id.class);
- list_add(&core->list, &bus->cores);
+ list_add
_tail
(&core->list, &bus->cores);
err = 0;
break;
}