From: Masahiro Yamada Date: Thu, 22 Jun 2017 07:52:36 +0000 (+0900) Subject: mmc: add static to spl_mmc_get_device_index() X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=207d8b35330f05265d099aadb8d4c2505a403bea;p=u-boot.git mmc: add static to spl_mmc_get_device_index() This function is only used in common/spl/spl_mmc.c[ Signed-off-by: Masahiro Yamada Reviewed-by: Bin Meng Signed-off-by: Jaehoon Chung --- diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index 18c1b59b22..bb48cac1ef 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: