]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/davinci_mmc.c
Merge git://git.denx.de/u-boot-sunxi
[u-boot] / drivers / mmc / davinci_mmc.c
index b495c7564cb2f000c33c2c343b362b887a37782e..dd784290bc6ae27fc176ca4ef075c3a3f61b1f48 100644 (file)
@@ -347,8 +347,8 @@ static int dmmc_init(struct mmc *mmc)
        return 0;
 }
 
-/* Set buswidth or clock as indicated by the GENERIC_MMC framework */
-static void dmmc_set_ios(struct mmc *mmc)
+/* Set buswidth or clock as indicated by the MMC framework */
+static int dmmc_set_ios(struct mmc *mmc)
 {
        struct davinci_mmc *host = mmc->priv;
        struct davinci_mmc_regs *regs = host->reg_base;
@@ -362,6 +362,8 @@ static void dmmc_set_ios(struct mmc *mmc)
        /* Set clock speed */
        if (mmc->clock)
                dmmc_set_clock(mmc, mmc->clock);
+
+       return 0;
 }
 
 static const struct mmc_ops dmmc_ops = {