]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/zynq_sdhci.c
dm: mmc: Set up the device pointer when using the MMC uclass
[people/ms/u-boot.git] / drivers / mmc / zynq_sdhci.c
index b59feca80b5cf1d649e4b03a81eb232ecee38bf6..d405929b64140fa4355bf7c399850ab76a3da645 100644 (file)
@@ -35,6 +35,7 @@ static int arasan_sdhci_probe(struct udevice *dev)
                  CONFIG_ZYNQ_SDHCI_MIN_FREQ);
 
        upriv->mmc = host->mmc;
+       host->mmc->dev = dev;
 
        return 0;
 }