Commit a78b4b17 authored by Thomas Zimmermann's avatar Thomas Zimmermann

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: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Reviewed-by: default avatarSui Jingfeng <suijingfeng@loongson.cn>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230706104852.27451-4-tzimmermann@suse.de
parent 4a3e7142
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/platform_data/simplefb.h> #include <linux/platform_data/simplefb.h>
#include <linux/screen_info.h>
struct screen_info;
enum { enum {
M_I17, /* 17-Inch iMac */ M_I17, /* 17-Inch iMac */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment