mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
bcma: add missing put_device call
This is required so that we give up the last reference to the device. Signed-off-by: Levente Kurusa <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
d7df7a55cb
commit
08f336b808
1 changed files with 1 additions and 0 deletions
|
|
@ -176,6 +176,7 @@ static int bcma_register_cores(struct bcma_bus *bus)
|
|||
bcma_err(bus,
|
||||
"Could not register dev for core 0x%03X\n",
|
||||
core->id.id);
|
||||
put_device(&core->dev);
|
||||
continue;
|
||||
}
|
||||
core->dev_registered = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue