summaryrefslogtreecommitdiff
path: root/include/linux/mcb.h
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2016-05-03 10:46:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-04 01:07:35 +0300
commit18d28819809909c3f24bb72183a901c5e332a63d (patch)
tree4a900ad5de38046a5c65967f990d06989a7d7a57 /include/linux/mcb.h
parentbc46b45a421a64a0895dd41a34d3d2086e1ac7f6 (diff)
downloadlinux-18d28819809909c3f24bb72183a901c5e332a63d.tar.xz
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>
Diffstat (limited to 'include/linux/mcb.h')
-rw-r--r--include/linux/mcb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/mcb.h b/include/linux/mcb.h
index ed06e15a36aa..3efafbca166d 100644
--- a/include/linux/mcb.h
+++ b/include/linux/mcb.h
@@ -21,13 +21,12 @@ struct mcb_device;
/**
* struct mcb_bus - MEN Chameleon Bus
*
- * @dev: pointer to carrier device
- * @children: the child busses
+ * @dev: bus device
+ * @carrier: pointer to carrier device
* @bus_nr: mcb bus number
* @get_irq: callback to get IRQ number
*/
struct mcb_bus {
- struct list_head children;
struct device dev;
struct device *carrier;
int bus_nr;