mmc: sdhci-of-dwcmshc: Fix build warning for !PM_SLEEP
drivers/mmc/host/sdhci-of-dwcmshc.c:1115:28: error: 'dwcmshc_runtime_suspend' undeclared here (not in a function); did you mean 'pm_runtime_suspend'? drivers/mmc/host/sdhci-of-dwcmshc.c:1115:53: error: 'dwcmshc_runtime_resume' undeclared here (not in a function); did you mean 'pm_runtime_resume'? Change-Id: Icb0b18860e3c0bda2a22645cf98bf4bfbbade426 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
parent
10226e07a5
commit
41fd8bec7d
1 changed files with 3 additions and 0 deletions
|
|
@ -1084,6 +1084,9 @@ disable_clk:
|
|||
clk_disable_unprepare(pltfm_host->clk);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
|
||||
static int dwcmshc_runtime_suspend(struct device *dev)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue