Register the device's xref handle at attach time.
This commit is contained in:
parent
5f7cfb6035
commit
ddfb3d5aa7
@ -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…
x
Reference in New Issue
Block a user