dm: dfu: mmc: Support CONFIG_BLK in DFU for MMC
authorSimon Glass <sjg@chromium.org>
Mon, 13 Jun 2016 05:30:33 +0000 (23:30 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commit797d1b9de118d4d3f6d918e7412c3ff9b7883bf0
treea5308ce6b220ff933694fe9da72ba6480cc9bd06
parent87bce4e5c0b55452d70830928b2d7b98fa24d4e3
dm: dfu: mmc: Support CONFIG_BLK in DFU for MMC

Update the method of accessing the block device so that it works with
CONFIG_BLK enabled.

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