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

Tim Kientzle kientzle at FreeBSD.org
Sat May 18 12:53:21 UTC 2013


Author: kientzle
Date: Sat May 18 12:53:20 2013
New Revision: 250768
URL: http://svnweb.freebsd.org/changeset/base/250768

Log:
  Label the mmc child after the parent.

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

Modified: head/sys/arm/ti/ti_mmchs.c
==============================================================================
--- head/sys/arm/ti/ti_mmchs.c	Sat May 18 12:01:38 2013	(r250767)
+++ head/sys/arm/ti/ti_mmchs.c	Sat May 18 12:53:20 2013	(r250768)
@@ -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);


More information about the svn-src-all mailing list