提交 4e262d7f 编写于 作者: U Ulf Hansson 提交者: Chris Ball

mmc: sh_mobile_sdhi: Use modern PM macros to define pm callbacks

Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
Acked-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NChris Ball <chris@printf.net>
上级 b28a960c
...@@ -316,10 +316,10 @@ static int sh_mobile_sdhi_remove(struct platform_device *pdev) ...@@ -316,10 +316,10 @@ static int sh_mobile_sdhi_remove(struct platform_device *pdev)
} }
static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { static const struct dev_pm_ops tmio_mmc_dev_pm_ops = {
.suspend = tmio_mmc_host_suspend, SET_SYSTEM_SLEEP_PM_OPS(tmio_mmc_host_suspend, tmio_mmc_host_resume)
.resume = tmio_mmc_host_resume, SET_RUNTIME_PM_OPS(tmio_mmc_host_runtime_suspend,
.runtime_suspend = tmio_mmc_host_runtime_suspend, tmio_mmc_host_runtime_resume,
.runtime_resume = tmio_mmc_host_runtime_resume, NULL)
}; };
static struct platform_driver sh_mobile_sdhi_driver = { static struct platform_driver sh_mobile_sdhi_driver = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册