summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-02 18:16:12 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 21:06:14 -0600
commitc95ed7d9e76e81c3728438ccbd3bbd119cf46886 (patch)
tree70c4c1da8b8857ca616fdec7b6f789a1c30c34d8 /drivers
parentc7d50e7fb9cc7e71dde7d630b157334e7f8b63fb (diff)
exynos: Correct return value in exynos_mmc_init()
This function should return 0 on success, not 1. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/s5p_sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c
index 8e1968a4ea..522eab9bbf 100644
--- a/drivers/mmc/s5p_sdhci.c
+++ b/drivers/mmc/s5p_sdhci.c
@@ -202,6 +202,6 @@ int exynos_mmc_init(const void *blob)
process_nodes(blob, node_list, count);
- return 1;
+ return 0;
}
#endif