From c41360cd207f91a5b19732c97e568846c53675f0 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 15 Aug 2011 09:44:04 +0200 Subject: mci: parent fixups Make the mci host a child of the hardware device and the disk a child of the mci host. Signed-off-by: Sascha Hauer --- drivers/mci/omap_hsmmc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/mci/omap_hsmmc.c') diff --git a/drivers/mci/omap_hsmmc.c b/drivers/mci/omap_hsmmc.c index f47f1907c2..5fdf445c70 100644 --- a/drivers/mci/omap_hsmmc.c +++ b/drivers/mci/omap_hsmmc.c @@ -557,6 +557,7 @@ static int omap_mmc_probe(struct device_d *dev) hsmmc->mci.set_ios = mmc_set_ios; hsmmc->mci.init = mmc_init_setup; hsmmc->mci.host_caps = MMC_MODE_4BIT | MMC_MODE_HS_52MHz | MMC_MODE_HS; + hsmmc->mci.hw_dev = dev; hsmmc->base = dev_request_mem_region(dev, 0); -- cgit v1.2.3