]> git.baikalelectronics.ru Git - kernel.git/commit
efi: mokvar: add missing include of asm/early_ioremap.h
authorArd Biesheuvel <ardb@kernel.org>
Fri, 2 Oct 2020 08:01:23 +0000 (10:01 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 2 Oct 2020 08:08:29 +0000 (10:08 +0200)
commiteda262fab04eba99ee9e22903de4470a44b16f28
treec5dcd759761728897064c17907d81b7d64a6da7d
parent7f28af275122d822afac27fc378614fe18fca8ed
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>
drivers/firmware/efi/mokvar-table.c