[PATCH 5/5] efi: loader: Make efi_runtime_mmio static
Bin Meng
bmeng at tinylab.org
Wed Apr 5 14:15:19 CEST 2023
efi_runtime_mmio is only referenced in efi_boottime.c
Signed-off-by: Bin Meng <bmeng at tinylab.org>
---
lib/efi_loader/efi_runtime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c
index cee96bfc7f..bf54d6ad87 100644
--- a/lib/efi_loader/efi_runtime.c
+++ b/lib/efi_loader/efi_runtime.c
@@ -32,7 +32,7 @@ struct efi_runtime_mmio_list {
};
/* This list contains all runtime available mmio regions */
-LIST_HEAD(efi_runtime_mmio);
+static LIST_HEAD(efi_runtime_mmio);
static efi_status_t __efi_runtime EFIAPI efi_unimplemented(void);
--
2.34.1
More information about the U-Boot
mailing list