Commit 06732b84 authored by Ulf Hansson's avatar Ulf Hansson Committed by Chris Ball

mmc: sdhci-of-esdhc: Fixup compile error

The commit below introduced compile errors, let's fix them.
mmc: sdhci-of-esdhc: remove platform_suspend/platform_resume callbacks

Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarChris Ball <chris@printf.net>
parent f9260355
...@@ -306,7 +306,7 @@ static int esdhc_of_suspend(struct device *dev) ...@@ -306,7 +306,7 @@ static int esdhc_of_suspend(struct device *dev)
return sdhci_suspend_host(host); return sdhci_suspend_host(host);
} }
static void esdhc_of_resume(device *dev) static int esdhc_of_resume(struct device *dev)
{ {
struct sdhci_host *host = dev_get_drvdata(dev); struct sdhci_host *host = dev_get_drvdata(dev);
int ret = sdhci_resume_host(host); int ret = sdhci_resume_host(host);
...@@ -321,8 +321,8 @@ static void esdhc_of_resume(device *dev) ...@@ -321,8 +321,8 @@ static void esdhc_of_resume(device *dev)
} }
static const struct dev_pm_ops esdhc_pmops = { static const struct dev_pm_ops esdhc_pmops = {
.suspend = esdhci_of_suspend, .suspend = esdhc_of_suspend,
.resume = esdhci_of_resume, .resume = esdhc_of_resume,
}; };
#define ESDHC_PMOPS (&esdhc_pmops) #define ESDHC_PMOPS (&esdhc_pmops)
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment