dm: mmc: Move non-CONFIG_BLK code into mmc_legacy.c
authorSimon Glass <sjg@chromium.org>
Mon, 13 Jun 2016 05:30:17 +0000 (23:30 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commit5aed4cbba07526d1a575f07f45b4d10d8cdca11e
tree86017232a607e2c0f110155c6b2736bfa22c185c
parenteede897e2782a90efc8190ff8424e216730ced7d
dm: mmc: Move non-CONFIG_BLK code into mmc_legacy.c

Rather than having #ifdef in mmc.c, move this code into the legacy file.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc.c
drivers/mmc/mmc_legacy.c