summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pltfm.h
diff options
context:
space:
mode:
authorJingoo Han2013-04-29 10:56:16 +0200
committerChris Ball2013-05-26 20:23:21 +0200
commit5a942b6fee81c6876044099b7622a817e4a74c03 (patch)
tree552d955c851345022ba766357e0dd40e9e31039c /drivers/mmc/host/sdhci-pltfm.h
parentmmc: sdhi/tmio: add DT DMA support (diff)
downloadkernel-qcow2-linux-5a942b6fee81c6876044099b7622a817e4a74c03.tar.gz
kernel-qcow2-linux-5a942b6fee81c6876044099b7622a817e4a74c03.tar.xz
kernel-qcow2-linux-5a942b6fee81c6876044099b7622a817e4a74c03.zip
mmc: atmel-mci: add CONFIG_PM_SLEEP to suspend/resume functions
Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not selected. This is because sleep PM callbacks defined by SIMPLE_DEV_PM_OPS are only used when the CONFIG_PM_SLEEP is enabled. drivers/mmc/host/atmel-mci.c:2509:12: warning: 'atmci_suspend' defined but not used [-Wunused-function] drivers/mmc/host/atmel-mci.c:2539:12: warning: 'atmci_resume' defined but not used [-Wunused-function] Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pltfm.h')
0 files changed, 0 insertions, 0 deletions