* [PATCH] fbcon: Declare struct fb_info.fbcon_par as of type struct fbcon_par
@ 2026-02-10 9:43 Thomas Zimmermann
2026-02-10 10:01 ` Helge Deller
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Zimmermann @ 2026-02-10 9:43 UTC (permalink / raw)
To: deller; +Cc: linux-fbdev, dri-devel, Thomas Zimmermann
The only correct type for the field fbcon_par in struct fb_info
is struct fbcon_par. Declare is as such. The field is a pointer
to fbcon-private data.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
include/linux/fb.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 65fb70382675..b8b6f54f3312 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -18,6 +18,7 @@ struct backlight_device;
struct device;
struct device_node;
struct fb_info;
+struct fbcon_par;
struct file;
struct i2c_adapter;
struct inode;
@@ -506,7 +507,7 @@ struct fb_info {
#define FBINFO_STATE_RUNNING 0
#define FBINFO_STATE_SUSPENDED 1
u32 state; /* Hardware state i.e suspend */
- void *fbcon_par; /* fbcon use-only private area */
+ struct fbcon_par *fbcon_par; /* fbcon use-only private area */
/* From here on everything is device dependent */
void *par;
--
2.52.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fbcon: Declare struct fb_info.fbcon_par as of type struct fbcon_par
2026-02-10 9:43 [PATCH] fbcon: Declare struct fb_info.fbcon_par as of type struct fbcon_par Thomas Zimmermann
@ 2026-02-10 10:01 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2026-02-10 10:01 UTC (permalink / raw)
To: Thomas Zimmermann; +Cc: linux-fbdev, dri-devel
On 2/10/26 10:43, Thomas Zimmermann wrote:
> The only correct type for the field fbcon_par in struct fb_info
> is struct fbcon_par. Declare is as such. The field is a pointer
> to fbcon-private data.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
> include/linux/fb.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
applied.
Thanks!
Helge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-10 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-10 9:43 [PATCH] fbcon: Declare struct fb_info.fbcon_par as of type struct fbcon_par Thomas Zimmermann
2026-02-10 10:01 ` Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox