diff options
| author | Andreas Fenkart <afenkart@gmail.com> | 2014-11-08 09:33:11 -0500 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-11-26 08:30:54 -0500 |
| commit | bb09d15114a55ae050f5315f2dfd6d1c989ecacd (patch) | |
| tree | 687172391b502e7aea5262c3e1442841ba9baee9 /include/linux/platform_data | |
| parent | a74fecdf795e1d219fcdb6470b6a0709ff7e3e76 (diff) | |
mmc: omap_hsmmc: remove un-initialized callbacks from platform data
these callbacks are not set, probably legacy omap 1/2 features
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/hsmmc-omap.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/platform_data/hsmmc-omap.h b/include/linux/platform_data/hsmmc-omap.h index 11d7ed99603f..7e70e15154e4 100644 --- a/include/linux/platform_data/hsmmc-omap.h +++ b/include/linux/platform_data/hsmmc-omap.h | |||
| @@ -47,14 +47,6 @@ struct omap_hsmmc_platform_data { | |||
| 47 | * maximum frequency on the MMC bus */ | 47 | * maximum frequency on the MMC bus */ |
| 48 | unsigned int max_freq; | 48 | unsigned int max_freq; |
| 49 | 49 | ||
| 50 | /* switch the bus to a new slot */ | ||
| 51 | int (*switch_slot)(struct device *dev, int slot); | ||
| 52 | /* initialize board-specific MMC functionality, can be NULL if | ||
| 53 | * not supported */ | ||
| 54 | int (*init)(struct device *dev); | ||
| 55 | void (*cleanup)(struct device *dev); | ||
| 56 | void (*shutdown)(struct device *dev); | ||
| 57 | |||
| 58 | /* To handle board related suspend/resume functionality for MMC */ | 50 | /* To handle board related suspend/resume functionality for MMC */ |
| 59 | int (*suspend)(struct device *dev, int slot); | 51 | int (*suspend)(struct device *dev, int slot); |
| 60 | int (*resume)(struct device *dev, int slot); | 52 | int (*resume)(struct device *dev, int slot); |
| @@ -97,7 +89,6 @@ struct omap_hsmmc_platform_data { | |||
| 97 | int switch_pin; /* gpio (card detect) */ | 89 | int switch_pin; /* gpio (card detect) */ |
| 98 | int gpio_wp; /* gpio (write protect) */ | 90 | int gpio_wp; /* gpio (write protect) */ |
| 99 | 91 | ||
| 100 | int (*set_bus_mode)(struct device *dev, int slot, int bus_mode); | ||
| 101 | int (*set_power)(struct device *dev, int slot, | 92 | int (*set_power)(struct device *dev, int slot, |
| 102 | int power_on, int vdd); | 93 | int power_on, int vdd); |
| 103 | int (*get_ro)(struct device *dev, int slot); | 94 | int (*get_ro)(struct device *dev, int slot); |
