mcb: Correctly initialize the bus's device
authorJohannes Thumshirn <jthumshirn@suse.de>
Tue, 3 May 2016 07:46:22 +0000 (09:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 May 2016 22:07:35 +0000 (15:07 -0700)
commit18d28819809909c3f24bb72183a901c5e332a63d
tree4a900ad5de38046a5c65967f990d06989a7d7a57
parentbc46b45a421a64a0895dd41a34d3d2086e1ac7f6
mcb: Correctly initialize the bus's device

The mcb bus' device member wasn't correctly initialized and thus wasn't placed
correctly into the driver model.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Andreas Werner <andreas.werner@men.de>
Tested-by: Andreas Werner <andreas.werner@men.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mcb/mcb-core.c
include/linux/mcb.h