mmc: renesas-sdhi: make renesas_sdhi_sys_dmac main module file
authorSimon Horman <horms+renesas@verge.net.au>
Wed, 10 May 2017 09:25:30 +0000 (11:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:16 +0000 (10:30 +0200)
commit9d08428afb722fedaea699a32aaf603a8f1ebd5a
treecf4d27b3015c21283f4145e05c84b5e82b8696c8
parentb5b6a5f4f06c0624886b2166e2e8580327f0b943
mmc: renesas-sdhi: make renesas_sdhi_sys_dmac main module file

Make renesas_sdhi_sys_dmac.c a top-level module file that makes use of
library code supplied by renesas_sdhi_core.c

This is in order to facilitate adding other variants of SDHI;
in particular SDHI using different DMA controllers.

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>
[Arnd: Fixed module build error]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/mmc/host/renesas_sdhi.h
drivers/mmc/host/renesas_sdhi_core.c
drivers/mmc/host/renesas_sdhi_sys_dmac.c