From 537ca2b0fd35d5038ea1746bdf1fb2ad3252d383 Mon Sep 17 00:00:00 2001 From: Ulf Hansson Date: Mon, 25 Aug 2014 12:06:55 +0200 Subject: [PATCH] mmc: sdhi: Make runtime PM callbacks available for CONFIG_PM To be able to simplify system PM, let's re-use the runtime PM callbacks by converting to the SET_PM_RUNTIME_PM_OPS macro. Signed-off-by: Ulf Hansson Acked-by: Geert Uytterhoeven (cherry picked from commit f74f1e38206df93b9e11d5a8b84743e61c0768a6) Signed-off-by: Simon Horman --- drivers/mmc/host/sh_mobile_sdhi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 91058da..bc1b33635 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c @@ -333,7 +333,7 @@ static int sh_mobile_sdhi_remove(struct platform_device *pdev) static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(tmio_mmc_host_suspend, tmio_mmc_host_resume) - SET_RUNTIME_PM_OPS(tmio_mmc_host_runtime_suspend, + SET_PM_RUNTIME_PM_OPS(tmio_mmc_host_runtime_suspend, tmio_mmc_host_runtime_resume, NULL) }; -- 2.7.4