diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-29 17:56:16 +0900 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-05-26 14:23:21 -0400 |
commit | 5a942b6fee81c6876044099b7622a817e4a74c03 (patch) | |
tree | 552d955c851345022ba766357e0dd40e9e31039c /drivers/mmc/host/sdhci-spear.c | |
parent | 87ae7bbebd9c9b32ad49dde1742aa68b5a86caf8 (diff) | |
download | blackbird-op-linux-5a942b6fee81c6876044099b7622a817e4a74c03.tar.gz blackbird-op-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-spear.c')
0 files changed, 0 insertions, 0 deletions