diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-24 17:24:48 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-12-19 08:50:04 +0100 |
commit | 90d9510645765401c56d75f6003d6cb6c1f7ca2a (patch) | |
tree | 0cbca29dc78e2be316297da5a74c79a81421abb5 /drivers/mmc/host/renesas_sdhi.h | |
parent | mmc: tmio, renesas_sdhi: move struct tmio_mmc_dma to renesas_sdhi.h (diff) | |
download | linux-90d9510645765401c56d75f6003d6cb6c1f7ca2a.tar.xz linux-90d9510645765401c56d75f6003d6cb6c1f7ca2a.zip |
mmc: tmio, renesas_sdhi: move Renesas-specific DMA data to renesas_sdhi.h
struct tmio_mmc_host has "dma_dataend" and "dma_complete", but in fact,
they are Renesas private data. Move them to renesas_sdhi.h
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>
Diffstat (limited to 'drivers/mmc/host/renesas_sdhi.h')
-rw-r--r-- | drivers/mmc/host/renesas_sdhi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/renesas_sdhi.h b/drivers/mmc/host/renesas_sdhi.h index 9a507b3a9838..3250dbed402f 100644 --- a/drivers/mmc/host/renesas_sdhi.h +++ b/drivers/mmc/host/renesas_sdhi.h @@ -39,6 +39,8 @@ struct tmio_mmc_dma { enum dma_slave_buswidth dma_buswidth; bool (*filter)(struct dma_chan *chan, void *arg); void (*enable)(struct tmio_mmc_host *host, bool enable); + struct completion dma_dataend; + struct tasklet_struct dma_complete; }; struct renesas_sdhi { |