mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
0b757c475b
commit
2a4fc68346
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue