bootmeth: efi: Make distro_efi_boot() static
authorBin Meng <bmeng@tinylab.org>
Thu, 3 Aug 2023 09:30:05 +0000 (17:30 +0800)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 15 Aug 2023 16:21:17 +0000 (18:21 +0200)
As it is only called in bootmeth_efi.c

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
boot/bootmeth_efi.c

index 1c9f2b1..ae936c8 100644 (file)
@@ -409,7 +409,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];