Commit 08f336b8 authored by Levente Kurusa's avatar Levente Kurusa Committed by John W. Linville

bcma: add missing put_device call

This is required so that we give up the last reference to the device.
Signed-off-by: default avatarLevente Kurusa <levex@linux.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d7df7a55
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment