diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-05-11 12:51:15 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-24 23:53:55 -0400 |
commit | 2595880481ac894d390365092de9aaf92b44e147 (patch) | |
tree | 4ab065140c59e8b68e661926bfaa588e4a7e2a0a /include/linux | |
parent | 7311bef0697bcfbbcb898c3c22e61e23f203ae9d (diff) |
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')
-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 @@ | |||
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | 5 | ||
6 | struct platform_device; | ||
7 | struct tmio_mmc_data; | ||
8 | |||
6 | struct sh_mobile_sdhi_info { | 9 | struct sh_mobile_sdhi_info { |
7 | int dma_slave_tx; | 10 | int dma_slave_tx; |
8 | int dma_slave_rx; | 11 | int dma_slave_rx; |
9 | unsigned long tmio_flags; | 12 | unsigned long tmio_flags; |
10 | unsigned long tmio_caps; | 13 | unsigned long tmio_caps; |
11 | u32 tmio_ocr_mask; /* available MMC voltages */ | 14 | u32 tmio_ocr_mask; /* available MMC voltages */ |
15 | struct tmio_mmc_data *pdata; | ||
12 | void (*set_pwr)(struct platform_device *pdev, int state); | 16 | void (*set_pwr)(struct platform_device *pdev, int state); |
13 | int (*get_cd)(struct platform_device *pdev); | 17 | int (*get_cd)(struct platform_device *pdev); |
14 | }; | 18 | }; |