mmc: uniphier: Split out SoC specific bits from the driver
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 8 Apr 2018 13:22:58 +0000 (15:22 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 11 Apr 2018 21:11:56 +0000 (23:11 +0200)
commite94cad93b7f940de0eda446b0cd9a43da7a1e328
tree39a7a3e9fe5d5d00d54c0da45fc59c5b30abc5db
parent78bf3f2180cd8d25c27cd6c25c80e2be95d0ccf6
mmc: uniphier: Split out SoC specific bits from the driver

Factor out common code from the uniphier SD driver, change the prefix
of the functions from uniphier_sd_ to matsu_sd_ and create separate
renesas-sdhi.c driver. Thus far, all the code is still compiled when
CONFIG_UNIPHIER_MMC is selected and there is no functional change.
This patch is a preparation for further split of the SoC specific
parts of the Matsushita SD driver, used both on Uniphier and R-Car.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/Makefile
drivers/mmc/matsushita-common.c [new file with mode: 0644]
drivers/mmc/matsushita-common.h [new file with mode: 0644]
drivers/mmc/renesas-sdhi.c [new file with mode: 0644]
drivers/mmc/uniphier-sd.c