aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZou Wei <[email protected]>2020-04-23 20:08:33 +0800
committerArd Biesheuvel <[email protected]>2020-04-23 20:15:06 +0200
commit87cd6378b3d2e0bd3316c3bb005e1d9d4db372fd (patch)
treeaf400b0c43323963f3759a0df3d21ce9001103d8
parent22090f84bc3f8081e0ec180ccaedc85820085376 (diff)
efi/libstub/arm: Make install_memreserve_table static
Fix the following sparse warning: drivers/firmware/efi/libstub/arm-stub.c:68:6: warning: symbol 'install_memreserve_table' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zou Wei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ard Biesheuvel <[email protected]>
-rw-r--r--drivers/firmware/efi/libstub/efi-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/efi-stub.c b/drivers/firmware/efi/libstub/efi-stub.c
index 99a5cde7c2d8..8a26cc11ca4a 100644
--- a/drivers/firmware/efi/libstub/efi-stub.c
+++ b/drivers/firmware/efi/libstub/efi-stub.c
@@ -65,7 +65,7 @@ static struct screen_info *setup_graphics(void)
return si;
}
-void install_memreserve_table(void)
+static void install_memreserve_table(void)
{
struct linux_efi_memreserve *rsv;
efi_guid_t memreserve_table_guid = LINUX_EFI_MEMRESERVE_TABLE_GUID;