]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 1c9f2b1e2fe41b231b21f94a29ace4bab61344f8..ae936c8daa1835c7bb59ebfa7699c1112b769a01 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];