diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2022-03-04 07:36:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-14 18:11:33 +0200 |
commit | 65065f96d53eb6677b67b2278d2df867c39774cd (patch) | |
tree | cd876c556be69088a464c07bde92d8f39a9b8e2c /include/linux/efi.h | |
parent | fbf9c4c714d3cdeb98b6a18e4d057f931cad1d81 (diff) | |
download | linux-stable-65065f96d53eb6677b67b2278d2df867c39774cd.tar.gz linux-stable-65065f96d53eb6677b67b2278d2df867c39774cd.tar.bz2 linux-stable-65065f96d53eb6677b67b2278d2df867c39774cd.zip |
efi: Add missing prototype for efi_capsule_setup_info
[ Upstream commit aa480379d8bdb33920d68acfd90f823c8af32578 ]
Fixes "no previous declaration for 'efi_capsule_setup_info'" warnings
under W=1.
Fixes: 2959c95d510c ("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>
Diffstat (limited to 'include/linux/efi.h')
-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 c82ef0eba4f8..f9b9f9a2fd4a 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -165,6 +165,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); /* |