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.
This commit is contained in:
Olivier Houchard 2014-02-02 20:45:41 +00:00
parent bb8bc226d3
commit 006a01df2c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261414

View file

@ -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: