diff options
author | Benjamin Thiel <b.thiel@posteo.de> | 2020-03-26 16:50:41 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-03-27 13:21:21 +0300 |
commit | 860f89e6182479149bb6c27f5f44989b0628a176 (patch) | |
tree | d93b4b74e5b385c2fd0db16807f1052762e02884 | |
parent | be98dc6e50433fdcacaf29ec682e85de0ead6748 (diff) | |
download | linux-860f89e6182479149bb6c27f5f44989b0628a176.tar.xz |
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@posteo.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200326135041.3264-1-b.thiel@posteo.de
-rw-r--r-- | include/linux/efi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 7efd7072cca5..e4b28ae1ba61 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 */ |