efi: Add missing prototype for efi_capsule_setup_info
[ Upstream commitaa480379d8] Fixes "no previous declaration for 'efi_capsule_setup_info'" warnings under W=1. Fixes:2959c95d51("efi/capsule: Add support for Quark security header") Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Link: https://lore.kernel.org/r/c28d3f86-dd72-27d1-e2c2-40971b8da6bd@siemens.com Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2a1b5110c9
commit
e7681199bb
1 changed files with 2 additions and 0 deletions
|
|
@ -167,6 +167,8 @@ struct capsule_info {
|
|||
size_t page_bytes_remain;
|
||||
};
|
||||
|
||||
int efi_capsule_setup_info(struct capsule_info *cap_info, void *kbuff,
|
||||
size_t hdr_bytes);
|
||||
int __efi_capsule_setup_info(struct capsule_info *cap_info);
|
||||
|
||||
typedef int (*efi_freemem_callback_t) (u64 start, u64 end, void *arg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue