Searched hist:"2788 ed42cdd755c2e81bb962fed43426ee5aac64" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/mmc/host/ |
H A D | sdhci-esdhc-imx.c | diff 2788ed42cdd755c2e81bb962fed43426ee5aac64 Wed Jul 27 11:46:25 CEST 2016 Ulf Hansson <ulf.hansson@linaro.org> mmc: sdhci-esdhc-imx: Assign system PM ops within #ifdef CONFIG_PM_SLEEP
The system PM callbacks isn't used unless CONFIG_PM_SLEEP is set, thus it triggers a compiler warning about unused functions. Avoid this by changing from CONFIG_PM to CONFIG_PM_SLEEP.
Reported-by: Arnd Bergmann <arnd@arndb.de> Fixes: b70d0b3b5b29 ("mmc: sdhci-esdhc-imx: add esdhc specific suspend resume callback") Cc: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
|