diff options
author | kientzle <kientzle@FreeBSD.org> | 2013-05-18 12:53:20 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2013-05-18 12:53:20 +0000 |
commit | ab9815cece08a74998ddc7a227349f445466928f (patch) | |
tree | fb0cfdc3fe5e63e7873e5b8a4bb676090b74fad3 /sys/arm | |
parent | 70dfcb99bbb283a1ac0af78ff6049ef0836c1703 (diff) | |
download | FreeBSD-src-ab9815cece08a74998ddc7a227349f445466928f.zip FreeBSD-src-ab9815cece08a74998ddc7a227349f445466928f.tar.gz |
Label the mmc child after the parent.
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/ti/ti_mmchs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/ti/ti_mmchs.c b/sys/arm/ti/ti_mmchs.c index 76ecc58..d1c0510 100644 --- a/sys/arm/ti/ti_mmchs.c +++ b/sys/arm/ti/ti_mmchs.c @@ -1747,7 +1747,7 @@ ti_mmchs_attach(device_t dev) sc->host.host_ocr = MMC_OCR_290_300 | MMC_OCR_300_310; sc->host.caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA; - device_add_child(dev, "mmc", 0); + device_add_child(dev, "mmc", sc->device_id); device_set_ivars(dev, &sc->host); err = bus_generic_attach(dev); |