commit | 5a1108e116e4e5dd7bc7736ec99134b2367025bd | [log] [tgz] |
---|---|---|
author | Lei Wen <leiwen@marvell.com> | Sat Oct 08 04:14:56 2011 +0000 |
committer | Andy Fleming <afleming@freescale.com> | Thu Nov 03 02:14:59 2011 -0500 |
tree | 9f103260795aa500ebacf2b90f1b3a319bb44272 | |
parent | dd1298c709c1da9a642a7553e33acd820b6d23a5 [diff] [blame] |
mmc: sdhci: add mmc structure for host So that sdhci host would tell in the driver that the mmc current attributes. Signed-off-by: Lei Wen <leiwen@marvell.com>
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 4a92453..31c738e 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c
@@ -377,6 +377,7 @@ } mmc->priv = host; + host->mmc = mmc; sprintf(mmc->name, "%s", host->name); mmc->send_cmd = sdhci_send_command;