From 006a01df2c99c0bdfca8d38f75be342bca135bd7 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Sun, 2 Feb 2014 20:45:41 +0000 Subject: [PATCH] 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. --- sys/arm/ti/ti_mmchs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/arm/ti/ti_mmchs.c b/sys/arm/ti/ti_mmchs.c index f6ef6f66364..c311da73ed0 100644 --- a/sys/arm/ti/ti_mmchs.c +++ b/sys/arm/ti/ti_mmchs.c @@ -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: