commit | 69f45cd53b8ad8bc3afef2cf2410baf58fe75a6f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun May 01 13:52:29 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue May 17 09:54:43 2016 -0600 |
tree | a0272956d8da3a10f70ed60da94becfdf6c92f8f | |
parent | 0776167ec5541a2b4fa099dfea5a1aad2d4b7c72 [diff] [blame] |
dm: mmc: Use the new select_hwpart() API Avoid calling directly into the MMC code - use the new API call instead. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 49996a8..7322f334 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c
@@ -257,7 +257,7 @@ if (!mmc) return 0; - err = mmc_select_hwpart(dev_num, block_dev->hwpart); + err = blk_dselect_hwpart(block_dev, block_dev->hwpart); if (err < 0) return 0;