From: Simon Glass Date: Thu, 9 Jan 2025 15:02:39 +0000 (-0700) Subject: efi_loader: Make efi_run_image() static X-Git-Tag: v2025.04-rc1~47^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f58b0d00126a906f9e1e9fc1c55512b47c8e51be;p=pandora-u-boot.git efi_loader: Make efi_run_image() static This function is not called from outside this file and has no entry in the header file, so mark it static. Signed-off-by: Simon Glass Reviewed-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_bootbin.c b/lib/efi_loader/efi_bootbin.c index a97d3a025a2..428991df88f 100644 --- a/lib/efi_loader/efi_bootbin.c +++ b/lib/efi_loader/efi_bootbin.c @@ -159,7 +159,7 @@ void efi_set_bootdev(const char *dev, const char *devnr, const char *path, * @source_size: size of the UEFI image * Return: status code */ -efi_status_t efi_run_image(void *source_buffer, efi_uintn_t source_size) +static efi_status_t efi_run_image(void *source_buffer, efi_uintn_t source_size) { efi_handle_t mem_handle = NULL, handle; struct efi_device_path *file_path = NULL;