summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/kernel/efi.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-07-06 12:42:14 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2023-07-08 20:26:36 +0200
commit8b0d13545b091729e0aa05ff9981e2d06c1e2ee5 (patch)
treed459e1140ac09aed26de2b6dbca530e45104cbd6 /arch/loongarch/kernel/efi.c
parent667f74e35ab13c5918e8247db502aa59d41d3447 (diff)
downloadlinux-stable-8b0d13545b091729e0aa05ff9981e2d06c1e2ee5.tar.gz
linux-stable-8b0d13545b091729e0aa05ff9981e2d06c1e2ee5.tar.bz2
linux-stable-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/loongarch/kernel/efi.c')
-rw-r--r--arch/loongarch/kernel/efi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch/kernel/efi.c b/arch/loongarch/kernel/efi.c
index 3d448fef3af4..9fc10cea21e1 100644
--- a/arch/loongarch/kernel/efi.c
+++ b/arch/loongarch/kernel/efi.c
@@ -18,6 +18,7 @@
#include <linux/kobject.h>
#include <linux/memblock.h>
#include <linux/reboot.h>
+#include <linux/screen_info.h>
#include <linux/uaccess.h>
#include <asm/early_ioremap.h>