Register the device's xref handle at attach time.

This commit is contained in:
Jared McNeill 2016-11-02 23:53:47 +00:00
parent 5f7cfb6035
commit ddfb3d5aa7

View File

@ -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);
}