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:
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to