diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-02-09 16:57:10 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-03-27 12:20:16 -0400 |
commit | 58126c878b4a4f658015e383614bafb6331e46d3 (patch) | |
tree | 4cc680965609d21b2d384819205dac4e78ece09e /include/linux/mmc/sh_mobile_sdhi.h | |
parent | c8be24c2afd3ed2445bbf8f542af35a9787fc0e8 (diff) |
mmc: sh_mobile_sdhi: pass card hotplug GPIO number to TMIO MMC
To use TMIO MMC driver ability to interface to the generic MMC GPIO card
hotplug detection helper, the SDHI driver has to pass the GPIO number
from its own platform data.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc/sh_mobile_sdhi.h')
-rw-r--r-- | include/linux/mmc/sh_mobile_sdhi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/sh_mobile_sdhi.h b/include/linux/mmc/sh_mobile_sdhi.h index 71b805451bd8..082a736a9bfb 100644 --- a/include/linux/mmc/sh_mobile_sdhi.h +++ b/include/linux/mmc/sh_mobile_sdhi.h | |||
@@ -16,6 +16,7 @@ struct sh_mobile_sdhi_info { | |||
16 | unsigned long tmio_flags; | 16 | unsigned long tmio_flags; |
17 | unsigned long tmio_caps; | 17 | unsigned long tmio_caps; |
18 | u32 tmio_ocr_mask; /* available MMC voltages */ | 18 | u32 tmio_ocr_mask; /* available MMC voltages */ |
19 | unsigned int cd_gpio; | ||
19 | struct tmio_mmc_data *pdata; | 20 | struct tmio_mmc_data *pdata; |
20 | void (*set_pwr)(struct platform_device *pdev, int state); | 21 | void (*set_pwr)(struct platform_device *pdev, int state); |
21 | int (*get_cd)(struct platform_device *pdev); | 22 | int (*get_cd)(struct platform_device *pdev); |