summaryrefslogtreecommitdiff
path: root/drivers/mmc/mv_sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/mv_sdhci.c')
-rw-r--r--drivers/mmc/mv_sdhci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/mv_sdhci.c b/drivers/mmc/mv_sdhci.c
index 2fe34b6993..63e1f9062b 100644
--- a/drivers/mmc/mv_sdhci.c
+++ b/drivers/mmc/mv_sdhci.c
@@ -51,6 +51,5 @@ int mv_sdh_init(u32 regbase, u32 max_clk, u32 min_clk, u32 quirks)
host->version = sdhci_readl(host, SDHCI_HOST_VERSION - 2) >> 16;
else
host->version = sdhci_readw(host, SDHCI_HOST_VERSION);
- add_sdhci(host, max_clk, min_clk);
- return 0;
+ return add_sdhci(host, max_clk, min_clk);
}