]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/socfpga_dw_mmc.c
x86: timer: tsc: Allow specifying clock rate from device tree again
[u-boot] / drivers / mmc / socfpga_dw_mmc.c
index 759686ccd63ec082c66acda7a923548c29509b6d..d0a0362d7ea6213bcc209d8b53637d1e9ae271c2 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2013 Altera Corporation <www.altera.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -11,7 +10,7 @@
 #include <dwmmc.h>
 #include <errno.h>
 #include <fdtdec.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <linux/err.h>
 #include <malloc.h>
 
@@ -124,7 +123,7 @@ static int socfpga_dwmmc_probe(struct udevice *dev)
        upriv->mmc = host->mmc;
        host->mmc->dev = dev;
 
-       return 0;
+       return dwmci_probe(dev);
 }
 
 static int socfpga_dwmmc_bind(struct udevice *dev)