Skip to content

Commit 860f89e

Browse files
Benjamin Thielsuryasaimadhu
authored andcommitted
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 <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent be98dc6 commit 860f89e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/efi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,4 +1703,6 @@ struct linux_efi_memreserve {
17031703

17041704
void efi_pci_disable_bridge_busmaster(void);
17051705

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

0 commit comments

Comments
 (0)