mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
bc46b45a42
commit
18d2881980
2 changed files with 18 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue