commit | 984db5d633c0ce2e1c58146035d84399aaa1f11b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun May 01 13:52:37 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue May 17 09:54:43 2016 -0600 |
tree | 15e6b6d868d094195d1b1974b50cf76f1f44bb6f | |
parent | 356e0e6113c86d99c01454e601f37a1c4a30d6e0 [diff] |
dm: mmc: Adjust mmc_switch_part() to use a struct mmc Instead of looking up the MMC device by number, just pass it in. This makes it possible to use this function with driver model. Signed-off-by: Simon Glass <sjg@chromium.org>