Skip to content

Commit a86039b

Browse files
tdzhdeller
authored andcommitted
fbcon: Declare struct fb_info.fbcon_par as of type struct fbcon_par
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> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 30baede commit a86039b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/linux/fb.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ struct backlight_device;
1818
struct device;
1919
struct device_node;
2020
struct fb_info;
21+
struct fbcon_par;
2122
struct file;
2223
struct i2c_adapter;
2324
struct inode;
@@ -505,7 +506,7 @@ struct fb_info {
505506
#define FBINFO_STATE_RUNNING 0
506507
#define FBINFO_STATE_SUSPENDED 1
507508
u32 state; /* Hardware state i.e suspend */
508-
void *fbcon_par; /* fbcon use-only private area */
509+
struct fbcon_par *fbcon_par; /* fbcon use-only private area */
509510
/* From here on everything is device dependent */
510511
void *par;
511512

0 commit comments

Comments
 (0)