X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=drivers%2Fmmc%2Fsh_mmcif.c;h=1ff59f06d576b77dbfe1fc92ba7f44f5a9d0e006;hb=b16c129c2290d26e7b16b4309713c78f6146bc8a;hp=bc4b3448119a1e6d3b4f0d7f5b5a68bb7f7e7237;hpb=2863a9bfc29092be37f8beee230883367b057065;p=oweals%2Fu-boot.git diff --git a/drivers/mmc/sh_mmcif.c b/drivers/mmc/sh_mmcif.c index bc4b344811..1ff59f06d5 100644 --- a/drivers/mmc/sh_mmcif.c +++ b/drivers/mmc/sh_mmcif.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include "sh_mmcif.h" @@ -539,7 +539,7 @@ static int sh_mmcif_request(struct mmc *mmc, struct mmc_cmd *cmd, return ret; } -static void sh_mmcif_set_ios(struct mmc *mmc) +static int sh_mmcif_set_ios(struct mmc *mmc) { struct sh_mmcif_host *host = mmc->priv; @@ -554,6 +554,8 @@ static void sh_mmcif_set_ios(struct mmc *mmc) host->bus_width = MMC_BUS_WIDTH_1; debug("clock = %d, buswidth = %d\n", mmc->clock, mmc->bus_width); + + return 0; } static int sh_mmcif_init(struct mmc *mmc)