commit | 434c487a811aa1e48e0a4cfb69353f0e8c730bfe | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat May 14 14:03:10 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri May 27 10:23:10 2016 -0600 |
tree | 8f7a308d8bffae84f7d58ebfb4008c4d9060ceb5 | |
parent | 9f72e37d6c598da11399a66c58e4101b2c3dadd8 [diff] |
dm: mmc: Use cfg directly in mmc_bind() This small change tidies up the code slightly. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index b7c936c..94f19ad 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c
@@ -1557,7 +1557,7 @@ bdesc->removable = 1; /* setup initial part type */ - bdesc->part_type = mmc->cfg->part_type; + bdesc->part_type = cfg->part_type; mmc->dev = dev; return 0;