mmc: fsl_esdhc: Move non DM_MMC code in #ifndef CONFIG_DM_MMC
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 12 May 2017 11:48:20 +0000 (17:18 +0530)
committerStefano Babic <sbabic@denx.de>
Wed, 31 May 2017 08:21:24 +0000 (10:21 +0200)
commit2e87c440f610ca99d5103c39b370e5b5d2481720
tree0649c34ed446c7746ad7bd5de7db658972094413
parentfcdb5319ceae7c55450053defc031749d6a7da57
mmc: fsl_esdhc: Move non DM_MMC code in #ifndef CONFIG_DM_MMC

Don't build non DM_MMC code when DM_MMC defined so move
them into #ifndef CONFIG_DM_MMC

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mmc/fsl_esdhc.c