summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/hsmmc.h
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2017-07-14 18:16:43 +0530
committerUlf Hansson <ulf.hansson@linaro.org>2017-07-17 15:04:47 +0200
commitba64792ff9b4612ab20623118e0b616e760ecdf7 (patch)
treefa869e8788bbdf9fb470338f62632aa3a36bf279 /arch/arm/mach-omap2/hsmmc.h
parent26cb2be4c7c42644ccd147c786edb9006300ee56 (diff)
downloadlinux-ba64792ff9b4612ab20623118e0b616e760ecdf7.tar.bz2
ARM: OMAP2+: hsmmc.c: Remove dead code
Most platforms using OMAP hsmmc driver have switched to device tree for passing platform data to omap_hsmmc.c driver. The hsmmc.c file in mach-omap2 exists only to support pandora board which uses wl1251 driver in legacy platform data mode. Hence, remove the dead code not used by the pandora board. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap2/hsmmc.h')
-rw-r--r--arch/arm/mach-omap2/hsmmc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.h b/arch/arm/mach-omap2/hsmmc.h
index 69b619ddc765..af9af5094ec3 100644
--- a/arch/arm/mach-omap2/hsmmc.h
+++ b/arch/arm/mach-omap2/hsmmc.h
@@ -12,18 +12,9 @@ struct omap2_hsmmc_info {
u8 mmc; /* controller 1/2/3 */
u32 caps; /* 4/8 wires and any additional host
* capabilities OR'd (ref. linux/mmc/host.h) */
- bool transceiver; /* MMC-2 option */
- bool ext_clock; /* use external pin for input clock */
- bool cover_only; /* No card detect - just cover switch */
- bool nonremovable; /* Nonremovable e.g. eMMC */
- bool deferred; /* mmc needs a deferred probe */
int gpio_cd; /* or -EINVAL */
int gpio_wp; /* or -EINVAL */
- char *name; /* or NULL for default */
struct platform_device *pdev; /* mmc controller instance */
- int ocr_mask; /* temporary HACK */
- /* Remux (pad configuration) when powering on/off */
- void (*remux)(struct device *dev, int power_on);
/* init some special card */
void (*init_card)(struct mmc_card *card);
};