Commit aa480379 authored by Jan Kiszka's avatar Jan Kiszka Committed by Ard Biesheuvel

efi: Add missing prototype for efi_capsule_setup_info

Fixes "no previous declaration for 'efi_capsule_setup_info'" warnings
under W=1.

Fixes: 2959c95d ("efi/capsule: Add support for Quark security header")
Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Link: https://lore.kernel.org/r/c28d3f86-dd72-27d1-e2c2-40971b8da6bd@siemens.comSigned-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 7419995a
...@@ -213,6 +213,8 @@ struct capsule_info { ...@@ -213,6 +213,8 @@ struct capsule_info {
size_t page_bytes_remain; 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); int __efi_capsule_setup_info(struct capsule_info *cap_info);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment