diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-08-08 06:38:41 -0400 |
|---|---|---|
| committer | Chris Ball <cjb@laptop.org> | 2013-08-24 23:58:09 -0400 |
| commit | 57fcb523e5fce1c24e9c28b64f6e6dc3edf55073 (patch) | |
| tree | 0039288a122b62ce94fd16f6577a1013fd3c47ed /include/linux/mmc | |
| parent | 83a0c7797e96e103bb3b6fcf8afb7b65dc7fc68e (diff) | |
mmc: sh_mobile_sdhi: Remove .get_cd() callback from platform data
All platforms pass the CD GPIO number to the driver in the .cd_gpio
field. The .get_cd() callback isn't used anymore, remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mmc/sh_mobile_sdhi.h b/include/linux/mmc/sh_mobile_sdhi.h index b76bcf0621f6..f31c69262232 100644 --- a/include/linux/mmc/sh_mobile_sdhi.h +++ b/include/linux/mmc/sh_mobile_sdhi.h | |||
| @@ -26,7 +26,6 @@ struct sh_mobile_sdhi_info { | |||
| 26 | u32 tmio_ocr_mask; /* available MMC voltages */ | 26 | u32 tmio_ocr_mask; /* available MMC voltages */ |
| 27 | unsigned int cd_gpio; | 27 | unsigned int cd_gpio; |
| 28 | void (*set_pwr)(struct platform_device *pdev, int state); | 28 | void (*set_pwr)(struct platform_device *pdev, int state); |
| 29 | int (*get_cd)(struct platform_device *pdev); | ||
| 30 | 29 | ||
| 31 | /* callbacks for board specific setup code */ | 30 | /* callbacks for board specific setup code */ |
| 32 | int (*init)(struct platform_device *pdev, | 31 | int (*init)(struct platform_device *pdev, |
