]> git.baikalelectronics.ru Git - kernel.git/commitdiff
efi: Add missing prototype for efi_capsule_setup_info
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 4 Mar 2022 06:36:37 +0000 (07:36 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 13 Apr 2022 17:19:47 +0000 (19:19 +0200)
Fixes "no previous declaration for 'efi_capsule_setup_info'" warnings
under W=1.

Fixes: aa78eddc93b2 ("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>
include/linux/efi.h

index 771d4cd06b561a4aef81151a1f6916ad5a3f4e98..fd266198f9d8c2e8d82dbe998bc5a5ca513e3a5d 100644 (file)
@@ -213,6 +213,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);
 
 /*