summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/hsmmc-omap.h
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2017-07-14 18:16:44 +0530
committerUlf Hansson <ulf.hansson@linaro.org>2017-07-17 15:05:52 +0200
commit36acbd9e8377c27570b887e2332a5e1f0b140e16 (patch)
tree14c194e357e15cc5cc22ef4c1e85ed0c2415b198 /include/linux/platform_data/hsmmc-omap.h
parentba64792ff9b4612ab20623118e0b616e760ecdf7 (diff)
mmc: host: omap_hsmmc: remove unused platform callbacks
Remove unused callbacks in the omap_hsmmc_platform_data structure 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 'include/linux/platform_data/hsmmc-omap.h')
-rw-r--r--include/linux/platform_data/hsmmc-omap.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/platform_data/hsmmc-omap.h b/include/linux/platform_data/hsmmc-omap.h
index 8e981be2e2c2..0ff1e0dba720 100644
--- a/include/linux/platform_data/hsmmc-omap.h
+++ b/include/linux/platform_data/hsmmc-omap.h
@@ -55,9 +55,6 @@ struct omap_hsmmc_platform_data {
u32 caps; /* Used for the MMC driver on 2430 and later */
u32 pm_caps; /* PM capabilities of the mmc */
- /* use the internal clock */
- unsigned internal_clock:1;
-
/* nonremovable e.g. eMMC */
unsigned nonremovable:1;
@@ -73,13 +70,6 @@ struct omap_hsmmc_platform_data {
int gpio_cd; /* gpio (card detect) */
int gpio_cod; /* gpio (cover detect) */
int gpio_wp; /* gpio (write protect) */
-
- int (*set_power)(struct device *dev, int power_on, int vdd);
- void (*remux)(struct device *dev, int power_on);
- /* Call back before enabling / disabling regulators */
- void (*before_set_reg)(struct device *dev, int power_on, int vdd);
- /* Call back after enabling / disabling regulators */
- void (*after_set_reg)(struct device *dev, int power_on, int vdd);
/* if we have special card, init it using this callback */
void (*init_card)(struct mmc_card *card);