]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi: loader: Make efi_mem static
authorBin Meng <bmeng@tinylab.org>
Wed, 5 Apr 2023 12:15:18 +0000 (20:15 +0800)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 8 Apr 2023 05:46:44 +0000 (07:46 +0200)
efi_mem is only referenced in efi_memory.c

Signed-off-by: Bin Meng <bmeng@tinylab.org>
lib/efi_loader/efi_memory.c

index 8f82496740fa7be376cd9efd030fe96b2afb7cb6..e2ca78d935fae3e6a89a05f08a223f41918217d9 100644 (file)
@@ -36,7 +36,7 @@ struct efi_mem_list {
 #define EFI_CARVE_OVERLAPS_NONRAM      -3
 
 /* This list contains all memory map items */
-LIST_HEAD(efi_mem);
+static LIST_HEAD(efi_mem);
 
 #ifdef CONFIG_EFI_LOADER_BOUNCE_BUFFER
 void *efi_bounce_buffer;