diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-02-23 21:07:07 -0500 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@intel.com> | 2015-03-05 11:24:26 -0500 |
| commit | 84f11d5b1f2abc0e22895b7e12e037f0ec03caeb (patch) | |
| tree | 409c9b17a69320632bad77f183a0e2b1ff7610e2 /include/linux/mmc | |
| parent | f33c9d655893d8632460696bbbdee737cb315711 (diff) | |
mmc: sh_mobile_sdhi: remove sh_mobile_sdhi_info
Current sh_mobile_sdhi's platform data is set via sh_mobile_sdhi_info
and it is just copied to tmio_mmc_data.
Now, tmio mmc platform data is specified via tmio_mmc_data.
This patch replace sh_mobile_sdhi_info to tmio_mmc_data
struct sh_mobile_sdhi_info { -> struct tmio_mmc_data {
int dma_slave_tx; -> void *chan_priv_tx;
int dma_slave_rx; -> void *chan_priv_rx;
unsigned long tmio_flags; -> unsigned long flags;
unsigned long tmio_caps; -> unsigned long capabilities;
unsigned long tmio_caps2; -> unsigned long capabilities2;
u32 tmio_ocr_mask; -> u32 ocr_mask;
unsigned int cd_gpio; -> unsigned int cd_gpio;
}; unsigned int hclk;
void (*set_pwr)(...);
void (*set_clk_div)(...);
};
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/mmc')
| -rw-r--r-- | include/linux/mmc/sh_mobile_sdhi.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/mmc/sh_mobile_sdhi.h b/include/linux/mmc/sh_mobile_sdhi.h index da77e5e2041d..95d6f0314a7d 100644 --- a/include/linux/mmc/sh_mobile_sdhi.h +++ b/include/linux/mmc/sh_mobile_sdhi.h | |||
| @@ -7,14 +7,4 @@ | |||
| 7 | #define SH_MOBILE_SDHI_IRQ_SDCARD "sdcard" | 7 | #define SH_MOBILE_SDHI_IRQ_SDCARD "sdcard" |
| 8 | #define SH_MOBILE_SDHI_IRQ_SDIO "sdio" | 8 | #define SH_MOBILE_SDHI_IRQ_SDIO "sdio" |
| 9 | 9 | ||
| 10 | struct sh_mobile_sdhi_info { | ||
| 11 | int dma_slave_tx; | ||
| 12 | int dma_slave_rx; | ||
| 13 | unsigned long tmio_flags; | ||
| 14 | unsigned long tmio_caps; | ||
| 15 | unsigned long tmio_caps2; | ||
| 16 | u32 tmio_ocr_mask; /* available MMC voltages */ | ||
| 17 | unsigned int cd_gpio; | ||
| 18 | }; | ||
| 19 | |||
| 20 | #endif /* LINUX_MMC_SH_MOBILE_SDHI_H */ | 10 | #endif /* LINUX_MMC_SH_MOBILE_SDHI_H */ |
