[PATCH 5/5] efi: loader: Make efi_runtime_mmio static

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Apr 5 15:09:38 CEST 2023


On Wed, Apr 05, 2023 at 08:15:19PM +0800, Bin Meng wrote:
> 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
> 
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>



More information about the U-Boot mailing list