dm: mmc: Move CONFIG_BLK code into the mmc uclass
authorSimon Glass <sjg@chromium.org>
Mon, 13 Jun 2016 05:30:16 +0000 (23:30 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commiteede897e2782a90efc8190ff8424e216730ced7d
tree27b259c60179df616ebc299b7a3a70320c79fba5
parent7dba0b93672adf94285bfd072eed543d3b68d4c9
dm: mmc: Move CONFIG_BLK code into the mmc uclass

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

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