]> git.sur5r.net Git - u-boot/commit
dm: mmc: Add a function to obtain the block device
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:27 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commitcb5ec33d9096f1f57c5ccc97d44ca0fb771729f5
tree0f18f7524b2d36e0d719c6a875ae225f81123f31
parente17d1143c1a3f6f9bb1b21acb50e5e6a79855023
dm: mmc: Add a function to obtain the block device

The MMC block device is contained within struct mmc. But with driver model
this will not be the case. Add a function to obtain the block device. We
can later implement this for CONFIG_BLK.

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