diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 13:52:40 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | ad27dd5e13436b554f0f3cb9cd3e79634494072d (patch) | |
tree | fc6a8492dcf32788ad177b1f1e3c4e17e1e3809b /drivers/gpio/adi_gpio2.c | |
parent | 8ef761ed4cda2d078b3d8b098d105472cbad8fb5 (diff) | |
download | u-boot-ad27dd5e13436b554f0f3cb9cd3e79634494072d.tar.gz u-boot-ad27dd5e13436b554f0f3cb9cd3e79634494072d.tar.xz u-boot-ad27dd5e13436b554f0f3cb9cd3e79634494072d.zip |
dm: mmc: Add a way to bind MMC devices with driver model
Binding an MMC device when CONFIG_BLK is enabled requires that a block
device be bound as a child of the MMC device. Add a function to do this.
The mmc_create() method will be used only when DM_BLK is disabled.
Add an unbind method also.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio/adi_gpio2.c')
0 files changed, 0 insertions, 0 deletions