Date: Fri, 9 Dec 2016 20:21:48 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r309759 - stable/11/sys/arm/allwinner Message-ID: <201612092021.uB9KLm7K048115@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Fri Dec 9 20:21:48 2016 New Revision: 309759 URL: https://svnweb.freebsd.org/changeset/base/309759 Log: MFC r308235 (jmcneill): Register the device's xref handle at attach time. Modified: stable/11/sys/arm/allwinner/a10_dmac.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/arm/allwinner/a10_dmac.c ============================================================================== --- stable/11/sys/arm/allwinner/a10_dmac.c Fri Dec 9 20:17:07 2016 (r309758) +++ stable/11/sys/arm/allwinner/a10_dmac.c Fri Dec 9 20:21:48 2016 (r309759) @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612092021.uB9KLm7K048115>