[PATCH 03/12] sysfb: Do not include <linux/screen_info.h> from sysfb header
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: arnd@xxxxxxxx, deller@xxxxxx, daniel@xxxxxxxx, airlied@xxxxxxxxx
- Subject: [PATCH 03/12] sysfb: Do not include <linux/screen_info.h> from sysfb header
- From: Thomas Zimmermann <tzimmermann@xxxxxxx>
- Date: Thu, 29 Jun 2023 13:45:42 +0200
- Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-efi@xxxxxxxxxxxxxxx, linux-csky@xxxxxxxxxxxxxxx, linux-hexagon@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, loongarch@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-riscv@xxxxxxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, dri-devel@xxxxxxxxxxxxxxxxxxxxx, linux-hyperv@xxxxxxxxxxxxxxx, linux-fbdev@xxxxxxxxxxxxxxx, linux-staging@xxxxxxxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, Thomas Zimmermann <tzimmermann@xxxxxxx>, Ard Biesheuvel <ardb@xxxxxxxxxx>, Hans de Goede <hdegoede@xxxxxxxxxx>, Javier Martinez Canillas <javierm@xxxxxxxxxx>
- In-reply-to: <20230629121952.10559-1-tzimmermann@suse.de>
- References: <20230629121952.10559-1-tzimmermann@suse.de>
The header file <linux/sysfb.h> does not need anything from
<linux/screen_info.h>. Declare struct screen_info and remove
the include statements.
Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
Cc: Ard Biesheuvel <ardb@xxxxxxxxxx>
Cc: Hans de Goede <hdegoede@xxxxxxxxxx>
Cc: Javier Martinez Canillas <javierm@xxxxxxxxxx>
---
include/linux/sysfb.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/sysfb.h b/include/linux/sysfb.h
index c1ef5fc60a3cb..19cb803dd5ecd 100644
--- a/include/linux/sysfb.h
+++ b/include/linux/sysfb.h
@@ -9,7 +9,8 @@
#include <linux/kernel.h>
#include <linux/platform_data/simplefb.h>
-#include <linux/screen_info.h>
+
+struct screen_info;
enum {
M_I17, /* 17-Inch iMac */
--
2.41.0
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]