aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-07-06 12:42:16 +0200
committerThomas Zimmermann <[email protected]>2023-07-08 20:26:39 +0200
commita78b4b17eb8ad503e694b39fd61681f2b612b79e (patch)
tree9f59fdc0d596d40b11fb162f6b31a31f9fa00619
parent4a3e7142f2fd70f5c320fc7c54f3b7ef017553e5 (diff)
sysfb: Do not include <linux/screen_info.h> from sysfb header
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 <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Sui Jingfeng <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Hans de Goede <[email protected]> Cc: Javier Martinez Canillas <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--include/linux/sysfb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sysfb.h b/include/linux/sysfb.h
index c1ef5fc60a3c..19cb803dd5ec 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 */