mmc: tmio, renesas_sdhi: move struct tmio_mmc_dma to renesas_sdhi.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 24 Nov 2017 16:24:47 +0000 (01:24 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 19 Dec 2017 07:50:04 +0000 (08:50 +0100)
commit058db2868cd88b5474f26974253407fcbe932c22
treeb45a24da94c8e649d15a1da91e3025144d54a9d4
parent2487e7efc9e13bd11fdc86f1ac12a5a45c4af778
mmc: tmio, renesas_sdhi: move struct tmio_mmc_dma to renesas_sdhi.h

struct tmio_mmc_dma looks like TMIO core data, but in fact, Renesas
private data.  Move it to renesas_sdhi.h (probably, it is better to
rename it to renesas_sdhi_dma, or squash it into struct renesas_sdhi).

I also moved struct renesas_sdhi and host_to_priv() to that header
because they are necessary to convert the tmio_mmc_host pointer into
the renesas_sdhi pointer.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi.h
drivers/mmc/host/renesas_sdhi_core.c
drivers/mmc/host/renesas_sdhi_internal_dmac.c
drivers/mmc/host/renesas_sdhi_sys_dmac.c
drivers/mmc/host/tmio_mmc.h