commit | 77ca42bef9fc27225cf989dcce8497e5258fb844 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun May 01 13:52:34 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue May 17 09:54:43 2016 -0600 |
tree | 1cdf6a6e9740f888957e2c6aba672326989eef1b | |
parent | 8f5f7220bceed11be3b240a6cfe99e4489501d84 [diff] [blame] |
dm: mmc: Set up the device pointer when using the MMC uclass Update the existing drivers to set up this new pointer. This will be required by the MMC uclass. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/mmc/socfpga_dw_mmc.c b/drivers/mmc/socfpga_dw_mmc.c index 097db81..6a0e971 100644 --- a/drivers/mmc/socfpga_dw_mmc.c +++ b/drivers/mmc/socfpga_dw_mmc.c
@@ -108,6 +108,7 @@ return ret; upriv->mmc = host->mmc; + host->mmc->dev = dev; return 0; }