diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 13:52:34 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | cffe5d86cfe853ae9271d37522f8bc5795cc4c69 (patch) | |
tree | 1cdf6a6e9740f888957e2c6aba672326989eef1b /drivers/mmc/uniphier-sd.c | |
parent | b6694a33c45530e4c260c7fd6c77cc8472c9412f (diff) | |
download | u-boot-imx-cffe5d86cfe853ae9271d37522f8bc5795cc4c69.zip u-boot-imx-cffe5d86cfe853ae9271d37522f8bc5795cc4c69.tar.gz u-boot-imx-cffe5d86cfe853ae9271d37522f8bc5795cc4c69.tar.bz2 |
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>
Diffstat (limited to 'drivers/mmc/uniphier-sd.c')
-rw-r--r-- | drivers/mmc/uniphier-sd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c index 81a80cd..4978cca 100644 --- a/drivers/mmc/uniphier-sd.c +++ b/drivers/mmc/uniphier-sd.c @@ -725,6 +725,7 @@ int uniphier_sd_probe(struct udevice *dev) return -EIO; upriv->mmc = priv->mmc; + priv->mmc->dev = dev; return 0; } |