Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327890
b: refs/heads/master
c: ee91592
h: refs/heads/master
v: v3
  • Loading branch information
Saul St. John authored and John W. Linville committed Sep 7, 2012
1 parent ab721cd commit 899b04d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0374737727b65f31b9357051b421a3141c0d39ec
refs/heads/master: ee91592711ed90a1abfbb1b2ceadded11d685164
10 changes: 10 additions & 0 deletions trunk/drivers/bcma/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,17 @@ int __devinit bcma_bus_register(struct bcma_bus *bus)

void bcma_bus_unregister(struct bcma_bus *bus)
{
struct bcma_device *cores[3];

cores[0] = bcma_find_core(bus, BCMA_CORE_MIPS_74K);
cores[1] = bcma_find_core(bus, BCMA_CORE_PCIE);
cores[2] = bcma_find_core(bus, BCMA_CORE_4706_MAC_GBIT_COMMON);

bcma_unregister_cores(bus);

kfree(cores[2]);
kfree(cores[1]);
kfree(cores[0]);
}

int __init bcma_bus_early_register(struct bcma_bus *bus,
Expand Down

0 comments on commit 899b04d

Please sign in to comment.