From: Ulf Hansson Date: Mon, 25 Aug 2014 10:06:55 +0000 (+0200) Subject: mmc: sdhi: Make runtime PM callbacks available for CONFIG_PM X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f74f1e38206df93b9e11d5a8b84743e61c0768a6;p=linux-beck.git 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 --- diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index be5e25ddab53..4cd0f09bc690 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) };