dm: spl: mmc: Support raw partitions with CONFIG_BLK
authorSimon Glass <sjg@chromium.org>
Tue, 5 Jul 2016 23:10:18 +0000 (17:10 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 27 Jul 2016 20:15:54 +0000 (14:15 -0600)
commit1e2b3ef8653417f296ee23f32c28abfc086529dd
treecd47fb2bd26d4fbd3c6fdc8561de7c39b80aabe1
parentc9f3c5f9c36127c4221bec7d790d44503d4da5a3
dm: spl: mmc: Support raw partitions with CONFIG_BLK

Fix up the call in mmc_load_image_raw_partition() to use the correct
function to obtain the MMC device, so that this code can support driver
model.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl_mmc.c