commit | a70a146a649c2c6e74f75919fbbaa06d15c572c3 | [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 | 4bca666a9ab4960af19786ec09c12f9f0f589ff2 [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>