summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-s5pc1xx
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2013-12-03 14:01:06 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2013-12-05 10:42:04 +0900
commit4bee78f5027509b30307b6bfb4f1b457ecce529c (patch)
tree8f83057ff6f61ccf98f321739eef5713155a5f5c /arch/arm/include/asm/arch-s5pc1xx
parentdca3668434ba6c1990d8a421ca6784e3bc597f42 (diff)
downloadu-boot-4bee78f5027509b30307b6bfb4f1b457ecce529c.tar.gz
u-boot-4bee78f5027509b30307b6bfb4f1b457ecce529c.tar.xz
u-boot-4bee78f5027509b30307b6bfb4f1b457ecce529c.zip
arm: exynos/goni: fix the return type for s5p_mmc_init
The "int" type is right. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/arch-s5pc1xx')
-rw-r--r--arch/arm/include/asm/arch-s5pc1xx/mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-s5pc1xx/mmc.h b/arch/arm/include/asm/arch-s5pc1xx/mmc.h
index 55ff10b23c..dd473c8ecd 100644
--- a/arch/arm/include/asm/arch-s5pc1xx/mmc.h
+++ b/arch/arm/include/asm/arch-s5pc1xx/mmc.h
@@ -55,7 +55,7 @@
int s5p_sdhci_init(u32 regbase, int index, int bus_width);
-static inline unsigned int s5p_mmc_init(int index, int bus_width)
+static inline int s5p_mmc_init(int index, int bus_width)
{
unsigned int base = samsung_get_base_mmc() +
(S5P_MMC_DEV_OFFSET * index);