[PATCH] cmd: fat: Make do_fat_size static

Ilias Apalodimas ilias.apalodimas at linaro.org
Sat Oct 26 09:33:09 CEST 2024


This is only used locally,so make it static

Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
---
 cmd/fat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/fat.c b/cmd/fat.c
index 1655e80e9450..5b7484dc1af7 100644
--- a/cmd/fat.c
+++ b/cmd/fat.c
@@ -14,7 +14,7 @@
 #include <part.h>
 #include <asm/cache.h>
 
-int do_fat_size(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
+static int do_fat_size(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
 	return do_size(cmdtp, flag, argc, argv, FS_TYPE_FAT);
 }
-- 
2.43.0



More information about the U-Boot mailing list