fbdev/sm712fb: Do not include <linux/screen_info.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 6 Jul 2023 10:42:15 +0000 (12:42 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sat, 8 Jul 2023 18:26:38 +0000 (20:26 +0200)
commit4a3e7142f2fd70f5c320fc7c54f3b7ef017553e5
treea94d3a5c3123046157e8f4b2880d1c3fc0e3eb0c
parent8b0d13545b091729e0aa05ff9981e2d06c1e2ee5
fbdev/sm712fb: Do not include <linux/screen_info.h>

Sm712fb's dependency on <linux/screen_info.h> is artificial in that
it only uses struct screen_info for its internals. Replace the use of
struct screen_info with a custom data structure and remove the include
of <linux/screen_info.h>.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Cc: Helge Deller <deller@gmx.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230706104852.27451-3-tzimmermann@suse.de
drivers/video/fbdev/sm712fb.c