mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Cc: stable <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
38a60ea2e7
commit
984589e59f
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue