mmc: renesas-sdhi: rename tmio_mmc_dma.c => renesas_sdhi_sys_dmac.c
authorSimon Horman <horms+renesas@verge.net.au>
Wed, 10 May 2017 09:25:28 +0000 (11:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:15 +0000 (10:30 +0200)
commitc2a96987c76f093be50550130f5629723b091176
tree4a8b05dac05df074d2e8a74221c33ef2b1b66238
parent426e95d1766bad20e59f219af64fdd50c39bcfee
mmc: renesas-sdhi: rename tmio_mmc_dma.c => renesas_sdhi_sys_dmac.c

Rename the source file for DMA for SDHI as a follow-up to attaching
DMA code to the SDHI driver rather than the tmio_core driver.

The name "renesas" is chosen as the SDHI driver is applicable to a wider
range of SoCs than SH-Mobile it seems to be a more appropriate name.
However, the SDHI driver source itself, is left as sh_mobile_sdhi to
avoid unnecessary churn.

The name sys_dmac was chosen to reflect the type of DMA used.

Internal symbols have also been renamed to reflect the filename change.

A follow-up patch will re-organise the SDHI driver removing
the need for renesas_sdhi_get_dma_ops().

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Makefile
drivers/mmc/host/renesas_sdhi.h [new file with mode: 0644]
drivers/mmc/host/renesas_sdhi_sys_dmac.c [moved from drivers/mmc/host/tmio_mmc_dma.c with 82% similarity]
drivers/mmc/host/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc.h