mmc: tmio: mmc: tmio: tmio_mmc_data has .chan_priv_?x
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 24 Feb 2015 02:06:43 +0000 (02:06 +0000)
committerVinod Koul <vinod.koul@intel.com>
Thu, 5 Mar 2015 16:24:17 +0000 (21:54 +0530)
commitf33c9d655893d8632460696bbbdee737cb315711
tree0c81b86cef4d1042dc4366a97000c31cf82bf1ee
parent7c6cc8f2012f4146b05b8ec7238f98884100db8c
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>
drivers/mmc/host/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc.h
drivers/mmc/host/tmio_mmc_dma.c
include/linux/mfd/tmio.h