From: Jaehoon Chung Date: Tue, 3 Dec 2013 05:01:06 +0000 (+0900) Subject: arm: exynos/goni: fix the return type for s5p_mmc_init X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4bee78f5027509b30307b6bfb4f1b457ecce529c;p=u-boot.git arm: exynos/goni: fix the return type for s5p_mmc_init The "int" type is right. Signed-off-by: Jaehoon Chung Signed-off-by: Minkyu Kang --- diff --git a/arch/arm/include/asm/arch-exynos/mmc.h b/arch/arm/include/asm/arch-exynos/mmc.h index 98312d1c3c..98d6530b15 100644 --- a/arch/arm/include/asm/arch-exynos/mmc.h +++ b/arch/arm/include/asm/arch-exynos/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); 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);