svn commit: r261414 - head/sys/arm/ti

Olivier Houchard cognet at FreeBSD.org
Sun Feb 2 20:45:42 UTC 2014


Author: cognet
Date: Sun Feb  2 20:45:41 2014
New Revision: 261414
URL: http://svnweb.freebsd.org/changeset/base/261414

Log:
  Don't call device_set_ivars() for the mmchs, it doesn't seem to be used,
  and it overrides the ivars set by the simplebus.

Modified:
  head/sys/arm/ti/ti_mmchs.c

Modified: head/sys/arm/ti/ti_mmchs.c
==============================================================================
--- head/sys/arm/ti/ti_mmchs.c	Sun Feb  2 20:25:27 2014	(r261413)
+++ head/sys/arm/ti/ti_mmchs.c	Sun Feb  2 20:45:41 2014	(r261414)
@@ -1755,7 +1755,6 @@ ti_mmchs_attach(device_t dev)
 
 	device_add_child(dev, "mmc", 0);
 
-	device_set_ivars(dev, &sc->host);
 	err = bus_generic_attach(dev);
 
 out:


More information about the svn-src-all mailing list