[tip: x86/cleanups] x86/efi: Add a prototype for efi_arch_mem_reserve()

From: tip-bot2 for Benjamin Thiel
Date: Fri Mar 27 2020 - 10:54:45 EST


The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: 860f89e6182479149bb6c27f5f44989b0628a176
Gitweb: https://git.kernel.org/tip/860f89e6182479149bb6c27f5f44989b0628a176
Author: Benjamin Thiel <b.thiel@xxxxxxxxx>
AuthorDate: Thu, 26 Mar 2020 14:50:41 +01:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Fri, 27 Mar 2020 11:21:21 +01:00

x86/efi: Add a prototype for efi_arch_mem_reserve()

... in order to fix a -Wmissing-ptototypes warning:

arch/x86/platform/efi/quirks.c:245:13: warning:
no previous prototype for âefi_arch_mem_reserveâ [-Wmissing-prototypes] \
void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size)

Signed-off-by: Benjamin Thiel <b.thiel@xxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Link: https://lkml.kernel.org/r/20200326135041.3264-1-b.thiel@xxxxxxxxx
---
include/linux/efi.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/efi.h b/include/linux/efi.h
index 7efd707..e4b28ae 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1703,4 +1703,6 @@ struct linux_efi_memreserve {

void efi_pci_disable_bridge_busmaster(void);

+void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size);
+
#endif /* _LINUX_EFI_H */