summaryrefslogtreecommitdiff
path: root/common/spl/spl_mmc.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-06-22 16:52:36 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2017-07-19 19:13:59 +0900
commit207d8b35330f05265d099aadb8d4c2505a403bea (patch)
tree7e500bf317c134a4d3d9802f8f6a747cb5da7477 /common/spl/spl_mmc.c
parenta79e8dfed6e8dad5887d37b59a497b8ebb17f8fa (diff)
downloadu-boot-207d8b35330f05265d099aadb8d4c2505a403bea.tar.gz
u-boot-207d8b35330f05265d099aadb8d4c2505a403bea.tar.bz2
u-boot-207d8b35330f05265d099aadb8d4c2505a403bea.zip
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 <yamada.masahiro@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'common/spl/spl_mmc.c')
-rw-r--r--common/spl/spl_mmc.c2
1 files changed, 1 insertions, 1 deletions
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: