[U-Boot] [PATCH 1/2] arm: exynos/goni: fix the return type for s5p_mmc_init
Lukasz Majewski
l.majewski at samsung.com
Tue Dec 3 09:17:31 CET 2013
Hi Jaehoon,
> The "int" type is right.
>
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
> ---
> arch/arm/include/asm/arch-exynos/mmc.h | 2 +-
> arch/arm/include/asm/arch-s5pc1xx/mmc.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-exynos/mmc.h
> b/arch/arm/include/asm/arch-exynos/mmc.h index 98312d1..98d6530 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 55ff10b..dd473c8
> 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);
Acked-by: Lukasz Majewski <l.majewski at samsung.com>
--
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
More information about the U-Boot
mailing list