aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-05-11 16:51:11 +0000
committerChris Ball <cjb@laptop.org>2011-05-24 23:53:55 -0400
commit7311bef0697bcfbbcb898c3c22e61e23f203ae9d (patch)
tree0ef14a5a255472ba32473c54679af43866265387 /drivers/mmc/host/tmio_mmc.h
parentd6a1f863433bdf3f8406dedfa33fa79ee9259db3 (diff)
downloadkernel_goldelico_gta04-7311bef0697bcfbbcb898c3c22e61e23f203ae9d.zip
kernel_goldelico_gta04-7311bef0697bcfbbcb898c3c22e61e23f203ae9d.tar.gz
kernel_goldelico_gta04-7311bef0697bcfbbcb898c3c22e61e23f203ae9d.tar.bz2
mmc: tmio: runtime suspend the controller, where possible
The TMIO MMC controller cannot be powered off to save power, when no card is plugged in, because then it will not be able to detect a new card-insertion event. On some implementations, however, it is possible to switch to using another source to detect card insertion. This patch adds support for such implementations. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r--drivers/mmc/host/tmio_mmc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
index c6bf726..8260bc2 100644
--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -131,4 +131,7 @@ int tmio_mmc_host_resume(struct device *dev);
#define tmio_mmc_host_resume NULL
#endif
+int tmio_mmc_host_runtime_suspend(struct device *dev);
+int tmio_mmc_host_runtime_resume(struct device *dev);
+
#endif