[PATCH v2 05/15] fbcon: Add necessary include statements and forward declarations
Simona Vetter
simona.vetter at ffwll.ch
Tue Jul 15 06:20:55 PDT 2025
On Tue, Jul 15, 2025 at 02:24:42PM +0200, Thomas Zimmermann wrote:
> Make the header self contained for including.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
Reviewed-by: Simona Vetter <simona.vetter at ffwll.ch>
> ---
> include/linux/fbcon.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/include/linux/fbcon.h b/include/linux/fbcon.h
> index 2382dec6d6ab..81f0e698acbf 100644
> --- a/include/linux/fbcon.h
> +++ b/include/linux/fbcon.h
> @@ -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);
> --
> 2.50.0
>
--
Simona Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the linux-arm-kernel
mailing list