OFW_IICBUS: Register ofw_iicbus node.
The iicbus can be referenced from other nodes in DT. Approved by: kib (mentor)
This commit is contained in:
parent
233abe7690
commit
7c84ce2c10
@ -190,6 +190,8 @@ ofw_iicbus_attach(device_t dev)
|
||||
device_set_ivars(childdev, dinfo);
|
||||
}
|
||||
|
||||
/* Register bus */
|
||||
OF_device_register_xref(OF_xref_from_node(node), dev);
|
||||
return (bus_generic_attach(dev));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user