commit | ad27dd5e13436b554f0f3cb9cd3e79634494072d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun May 01 13:52:40 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue May 17 09:54:43 2016 -0600 |
tree | fc6a8492dcf32788ad177b1f1e3c4e17e1e3809b | |
parent | 8ef761ed4cda2d078b3d8b098d105472cbad8fb5 [diff] |
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>