From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] arm: exynos/goni: fix the return type for s5p_mmc_init
Date: Tue, 03 Dec 2013 09:17:31 +0100 [thread overview]
Message-ID: <20131203091731.4609c7e7@amdc2363> (raw)
In-Reply-To: <529D6562.9050401@gmail.com>
Hi Jaehoon,
> The "int" type is right.
>
> Signed-off-by: Jaehoon Chung <jh80.chung@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@samsung.com>
--
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
next prev parent reply other threads:[~2013-12-03 8:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-03 5:00 [U-Boot] [PATCH 1/2] arm: exynos/goni: fix the return type for s5p_mmc_init Jaehoon Chung
2013-12-03 8:17 ` Lukasz Majewski [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-03 5:01 Jaehoon Chung
2013-12-05 1:44 ` Minkyu Kang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131203091731.4609c7e7@amdc2363 \
--to=l.majewski@samsung.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.