diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-05-11 16:51:15 +0000 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-24 23:53:55 -0400 |
commit | 2595880481ac894d390365092de9aaf92b44e147 (patch) | |
tree | 4ab065140c59e8b68e661926bfaa588e4a7e2a0a /include/linux/mmc | |
parent | 7311bef0697bcfbbcb898c3c22e61e23f203ae9d (diff) | |
download | talos-obmc-linux-2595880481ac894d390365092de9aaf92b44e147.tar.gz talos-obmc-linux-2595880481ac894d390365092de9aaf92b44e147.zip |
mmc: sdhi: allow powering down controller with no card inserted
Supply a link to TMIO private data for platforms to implement their
own card detection.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/sh_mobile_sdhi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mmc/sh_mobile_sdhi.h b/include/linux/mmc/sh_mobile_sdhi.h index c981b959760f..faf32b6ec185 100644 --- a/include/linux/mmc/sh_mobile_sdhi.h +++ b/include/linux/mmc/sh_mobile_sdhi.h @@ -3,12 +3,16 @@ #include <linux/types.h> +struct platform_device; +struct tmio_mmc_data; + struct sh_mobile_sdhi_info { int dma_slave_tx; int dma_slave_rx; unsigned long tmio_flags; unsigned long tmio_caps; u32 tmio_ocr_mask; /* available MMC voltages */ + struct tmio_mmc_data *pdata; void (*set_pwr)(struct platform_device *pdev, int state); int (*get_cd)(struct platform_device *pdev); }; |