Re: [PATCH v2 12/22] mmc: tmio,renesas_sdhi: move struct tmio_mmc_dma to renesas_sdhi.h
From: Wolfram Sang
Date: Mon Dec 04 2017 - 10:05:27 EST
On Sat, Nov 25, 2017 at 01:24:47AM +0900, Masahiro Yamada wrote:
> 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@xxxxxxxxxxxxx>
Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>