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

Bin Meng bmeng at tinylab.org
Thu Aug 3 11:30:05 CEST 2023


As it is only called in bootmeth_efi.c

Signed-off-by: Bin Meng <bmeng at 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];
-- 
2.25.1



More information about the U-Boot mailing list