From 6cf1b17cd0af756bab5ec07cbf9f8ed13c229220 Mon Sep 17 00:00:00 2001 From: Lei Wen Date: Sat, 8 Oct 2011 04:14:56 +0000 Subject: 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 --- drivers/mmc/sdhci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/mmc/sdhci.c') 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 @@ int add_sdhci(struct sdhci_host *host, u32 max_clk, u32 min_clk) } mmc->priv = host; + host->mmc = mmc; sprintf(mmc->name, "%s", host->name); mmc->send_cmd = sdhci_send_command; -- cgit v1.1