[PATCH] bootmeth: efi: Make distro_efi_boot() static

As it is only called in bootmeth_efi.c
Signed-off-by: Bin Meng bmeng@tinylab.org ---
boot/bootmeth_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c index af31fbfc85..2d4c3c6728 100644 --- a/boot/bootmeth_efi.c +++ b/boot/bootmeth_efi.c @@ -372,7 +372,7 @@ static int distro_efi_read_bootflow(struct udevice *dev, struct bootflow *bflow) return 0; }
-int distro_efi_boot(struct udevice *dev, struct bootflow *bflow) +static int distro_efi_boot(struct udevice *dev, struct bootflow *bflow) { ulong kernel, fdt; char cmd[50];

On Thu, 3 Aug 2023 at 03:30, Bin Meng bmeng@tinylab.org wrote:
As it is only called in bootmeth_efi.c
Signed-off-by: Bin Meng bmeng@tinylab.org
boot/bootmeth_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
participants (2)
-
Bin Meng
-
Simon Glass