diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-10-02 11:01:23 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-10-02 11:08:29 +0300 |
commit | cc383a9e245c527d3175e2cf4cced9dbbedbbac6 (patch) | |
tree | c5dcd759761728897064c17907d81b7d64a6da7d /drivers/firmware/efi/mokvar-table.c | |
parent | 963fabf37f6a94214a823df0a785e653cb8ad6ea (diff) | |
download | linux-cc383a9e245c527d3175e2cf4cced9dbbedbbac6.tar.xz |
efi: mokvar: add missing include of asm/early_ioremap.h
Nathan reports that building the new mokvar table code for 32-bit
ARM fails with errors such as
error: implicit declaration of function 'early_memunmap'
error: implicit declaration of function 'early_memremap'
This is caused by the lack of an explicit #include of the appropriate
header, and ARM apparently does not inherit that inclusion via another
header file. So add the #include.
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/mokvar-table.c')
-rw-r--r-- | drivers/firmware/efi/mokvar-table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firmware/efi/mokvar-table.c b/drivers/firmware/efi/mokvar-table.c index 72a9e1736fef..d8bc01340686 100644 --- a/drivers/firmware/efi/mokvar-table.c +++ b/drivers/firmware/efi/mokvar-table.c @@ -40,6 +40,8 @@ #include <linux/list.h> #include <linux/slab.h> +#include <asm/early_ioremap.h> + /* * The LINUX_EFI_MOK_VARIABLE_TABLE_GUID config table is a packed * sequence of struct efi_mokvar_table_entry, one for each named |