Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2013 12:53:20 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250768 - head/sys/arm/ti
Message-ID:  <201305181253.r4ICrKZ3053193@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305181253.r4ICrKZ3053193>