diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-07-06 12:42:14 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-07-08 20:26:36 +0200 |
commit | 8b0d13545b091729e0aa05ff9981e2d06c1e2ee5 (patch) | |
tree | d459e1140ac09aed26de2b6dbca530e45104cbd6 /arch/arm/kernel | |
parent | accel/ivpu: Add fw_name file to debugfs (diff) | |
download | linux-8b0d13545b091729e0aa05ff9981e2d06c1e2ee5.tar.xz linux-8b0d13545b091729e0aa05ff9981e2d06c1e2ee5.zip |
efi: Do not include <linux/screen_info.h> from EFI header
The header file <linux/efi.h> does not need anything from
<linux/screen_info.h>. Declare struct screen_info and remove
the include statements. Update a number of source files that
require struct screen_info's definition.
v2:
* update loongarch (Jingfeng)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230706104852.27451-2-tzimmermann@suse.de
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/efi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/efi.c b/arch/arm/kernel/efi.c index e2b9d2618c67..e94655ef16bb 100644 --- a/arch/arm/kernel/efi.c +++ b/arch/arm/kernel/efi.c @@ -5,6 +5,8 @@ #include <linux/efi.h> #include <linux/memblock.h> +#include <linux/screen_info.h> + #include <asm/efi.h> #include <asm/mach/map.h> #include <asm/mmu_context.h> |