From: Viresh Kumar Date: Wed, 4 Jan 2012 06:18:42 +0000 (+0530) Subject: mmc: sdhci-spear: Fix compilation error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=984589e59f5796b4ef9a778c6a1937fc9319c423;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git mmc: sdhci-spear: Fix compilation error With the inclusion of following patch (59b5bc3929b37): "mmc: sdhci: remove "state" argument from sdhci_suspend_host" we get a compilation error for sdhci-spear: drivers/mmc/host/sdhci-spear.c:283:2: error: too many arguments to function ‘sdhci_suspend_host’ This patch fixes this error. Signed-off-by: Viresh Kumar Cc: stable Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c index 883548eaa09e..b7f8b33c5f19 100644 --- a/drivers/mmc/host/sdhci-spear.c +++ b/drivers/mmc/host/sdhci-spear.c @@ -277,10 +277,9 @@ static int sdhci_suspend(struct device *dev) { struct sdhci_host *host = dev_get_drvdata(dev); struct spear_sdhci *sdhci = dev_get_platdata(dev); - pm_message_t state = {.event = 0}; int ret; - ret = sdhci_suspend_host(host, state); + ret = sdhci_suspend_host(host); if (!ret) clk_disable(sdhci->clk);