* [U-Boot] [PATCH] mmc: add static to spl_mmc_get_device_index()
@ 2017-06-22 7:52 ` Masahiro Yamada
2017-06-22 8:22 ` Masahiro Yamada
2017-06-29 9:45 ` Jaehoon Chung
0 siblings, 2 replies; 4+ messages in thread
From: Masahiro Yamada @ 2017-06-22 7:52 UTC (permalink / raw)
To: u-boot
This function is only used in common/spl/spl_mmc.c[
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
common/spl/spl_mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index 18c1b59b22cc..bb48cac1efac 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/spl_mmc.c
@@ -96,7 +96,7 @@ end:
return 0;
}
-int spl_mmc_get_device_index(u32 boot_device)
+static int spl_mmc_get_device_index(u32 boot_device)
{
switch (boot_device) {
case BOOT_DEVICE_MMC1:
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] mmc: add static to spl_mmc_get_device_index()
2017-06-22 7:52 ` [U-Boot] [PATCH] mmc: add static to spl_mmc_get_device_index() Masahiro Yamada
@ 2017-06-22 8:22 ` Masahiro Yamada
2017-06-22 8:23 ` Bin Meng
2017-06-29 9:45 ` Jaehoon Chung
1 sibling, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2017-06-22 8:22 UTC (permalink / raw)
To: u-boot
2017-06-22 16:52 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> This function is only used in common/spl/spl_mmc.c[
The '[' at the end of line is a typo.
Please drop it when applied.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] mmc: add static to spl_mmc_get_device_index()
2017-06-22 8:22 ` Masahiro Yamada
@ 2017-06-22 8:23 ` Bin Meng
0 siblings, 0 replies; 4+ messages in thread
From: Bin Meng @ 2017-06-22 8:23 UTC (permalink / raw)
To: u-boot
On Thu, Jun 22, 2017 at 4:22 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> 2017-06-22 16:52 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
>> This function is only used in common/spl/spl_mmc.c[
>
> The '[' at the end of line is a typo.
>
> Please drop it when applied.
>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] mmc: add static to spl_mmc_get_device_index()
2017-06-22 7:52 ` [U-Boot] [PATCH] mmc: add static to spl_mmc_get_device_index() Masahiro Yamada
2017-06-22 8:22 ` Masahiro Yamada
@ 2017-06-29 9:45 ` Jaehoon Chung
1 sibling, 0 replies; 4+ messages in thread
From: Jaehoon Chung @ 2017-06-29 9:45 UTC (permalink / raw)
To: u-boot
On 06/22/2017 04:52 PM, Masahiro Yamada wrote:
> This function is only used in common/spl/spl_mmc.c[
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Applied to u-boot-mmc. Thanks!
Best Regards,
Jaehoon Chung
> ---
>
> common/spl/spl_mmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
> index 18c1b59b22cc..bb48cac1efac 100644
> --- a/common/spl/spl_mmc.c
> +++ b/common/spl/spl_mmc.c
> @@ -96,7 +96,7 @@ end:
> return 0;
> }
>
> -int spl_mmc_get_device_index(u32 boot_device)
> +static int spl_mmc_get_device_index(u32 boot_device)
> {
> switch (boot_device) {
> case BOOT_DEVICE_MMC1:
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-29 9:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20170622075419epcas5p36bc490b2ff9a9eaefa6c394ff10c2a95@epcas5p3.samsung.com>
2017-06-22 7:52 ` [U-Boot] [PATCH] mmc: add static to spl_mmc_get_device_index() Masahiro Yamada
2017-06-22 8:22 ` Masahiro Yamada
2017-06-22 8:23 ` Bin Meng
2017-06-29 9:45 ` Jaehoon Chung
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.