summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBenjamin Thiel <b.thiel@posteo.de>2020-05-16 15:26:47 +0200
committerArd Biesheuvel <ardb@kernel.org>2020-05-17 11:46:50 +0200
commite8da08a088236aff4b51d4ec97c750051f9fe417 (patch)
treeb18bdc9f45df673d58fceddc8f59c5e0b0ec9f87 /include/linux
parente78d334a5470ead861590ec83158f3b17bd6c807 (diff)
downloadlinux-stable-e8da08a088236aff4b51d4ec97c750051f9fe417.tar.gz
linux-stable-e8da08a088236aff4b51d4ec97c750051f9fe417.tar.bz2
linux-stable-e8da08a088236aff4b51d4ec97c750051f9fe417.zip
efi: Pull up arch-specific prototype efi_systab_show_arch()
Pull up arch-specific prototype efi_systab_show_arch() in order to fix a -Wmissing-prototypes warning: arch/x86/platform/efi/efi.c:957:7: warning: no previous prototype for ‘efi_systab_show_arch’ [-Wmissing-prototypes] char *efi_systab_show_arch(char *str) Signed-off-by: Benjamin Thiel <b.thiel@posteo.de> Link: https://lore.kernel.org/r/20200516132647.14568-1-b.thiel@posteo.de Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/efi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 251f1f783cdf..9430d01c0c3d 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1245,4 +1245,6 @@ struct linux_efi_memreserve {
void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size);
+char *efi_systab_show_arch(char *str);
+
#endif /* _LINUX_EFI_H */