]> www.infradead.org Git - users/hch/misc.git/commitdiff
fbcon: Add necessary include statements and forward declarations
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 15 Jul 2025 12:24:42 +0000 (14:24 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 12 Aug 2025 07:07:17 +0000 (09:07 +0200)
Make the header self contained for including.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://lore.kernel.org/r/20250715122643.137027-6-tzimmermann@suse.de
include/linux/fbcon.h

index 2382dec6d6ab8e0276e8e87489300fa33741dbf5..81f0e698acbf9e43e99ecec6f586d0612b570dcc 100644 (file)
@@ -1,6 +1,13 @@
 #ifndef _LINUX_FBCON_H
 #define _LINUX_FBCON_H
 
+#include <linux/compiler_types.h>
+
+struct fb_blit_caps;
+struct fb_info;
+struct fb_var_screeninfo;
+struct fb_videomode;
+
 #ifdef CONFIG_FRAMEBUFFER_CONSOLE
 void __init fb_console_init(void);
 void __exit fb_console_exit(void);