svn commit: r308235 - head/sys/arm/allwinner
Jared McNeill
jmcneill at FreeBSD.org
Wed Nov 2 23:53:49 UTC 2016
Author: jmcneill
Date: Wed Nov 2 23:53:47 2016
New Revision: 308235
URL: https://svnweb.freebsd.org/changeset/base/308235
Log:
Register the device's xref handle at attach time.
Modified:
head/sys/arm/allwinner/a10_dmac.c
Modified: head/sys/arm/allwinner/a10_dmac.c
==============================================================================
--- head/sys/arm/allwinner/a10_dmac.c Wed Nov 2 23:49:57 2016 (r308234)
+++ head/sys/arm/allwinner/a10_dmac.c Wed Nov 2 23:53:47 2016 (r308235)
@@ -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);
}
More information about the svn-src-all
mailing list