aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-01-04 01:18:42 -0500
committerChris Ball <cjb@laptop.org>2012-01-12 15:17:09 -0500
commit984589e59f5796b4ef9a778c6a1937fc9319c423 (patch)
treeb126b669386b5f69a3b37cf744c606d35130ce9d /drivers/mmc
parent38a60ea2e7b33ab33ee11d6ef527f259edb102cf (diff)
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 <viresh.kumar@st.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-spear.c3
1 files changed, 1 insertions, 2 deletions
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)
277{ 277{
278 struct sdhci_host *host = dev_get_drvdata(dev); 278 struct sdhci_host *host = dev_get_drvdata(dev);
279 struct spear_sdhci *sdhci = dev_get_platdata(dev); 279 struct spear_sdhci *sdhci = dev_get_platdata(dev);
280 pm_message_t state = {.event = 0};
281 int ret; 280 int ret;
282 281
283 ret = sdhci_suspend_host(host, state); 282 ret = sdhci_suspend_host(host);
284 if (!ret) 283 if (!ret)
285 clk_disable(sdhci->clk); 284 clk_disable(sdhci->clk);
286 285