diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-02-23 21:06:43 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-03-05 11:24:17 -0500 |
commit | f33c9d655893d8632460696bbbdee737cb315711 (patch) | |
tree | 0c81b86cef4d1042dc4366a97000c31cf82bf1ee /include/linux/mfd | |
parent | 7c6cc8f2012f4146b05b8ec7238f98884100db8c (diff) |
mmc: tmio: mmc: tmio: tmio_mmc_data has .chan_priv_?x
dma_request_slave_channel_compat() in tmio_mmc_dma
needs .chan_priv_tx/.chan_priv_rx. But these are copied from
sh_mobile_sdhi only, and sh_mobile_sdhi_info is now almost
same as tmio_mmc_data except .chan_priv_?x.
sh_mobile_sdhi_info can be replaced to tmio_mmc_data, but it is
used from ${LINUX}/arch/arm/mach-shmobile, ${LINUX}/arch/sh.
So, this patch adds .chan_priv_?x into tmio_mmc_data as 1st step,
and sh_mobile_sdhi driver has dummy operation for now.
It will be replaced/removed together with platform data replace.
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>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/tmio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index 605812820e48..24b86d538e88 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h | |||
@@ -111,6 +111,8 @@ struct dma_chan; | |||
111 | * data for the MMC controller | 111 | * data for the MMC controller |
112 | */ | 112 | */ |
113 | struct tmio_mmc_data { | 113 | struct tmio_mmc_data { |
114 | void *chan_priv_tx; | ||
115 | void *chan_priv_rx; | ||
114 | unsigned int hclk; | 116 | unsigned int hclk; |
115 | unsigned long capabilities; | 117 | unsigned long capabilities; |
116 | unsigned long capabilities2; | 118 | unsigned long capabilities2; |