mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Register the device's xref handle at attach time.
This commit is contained in:
parent
5f7cfb6035
commit
ddfb3d5aa7
1 changed files with 1 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ a10dmac_attach(device_t dev)
|
|||
return (ENXIO);
|
||||
}
|
||||
|
||||
OF_device_register_xref(OF_xref_from_node(ofw_bus_get_node(dev)), dev);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue