commit | fdbb139f0ce10325b44dd3ec76993f8c8e798395 | [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 | 1598dfcb101c2c3aaac68a4ac8fc9bdef2293eaa [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>