]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fbcon: Rename struct fbcon_ops to struct fbcon_par
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 9 Sep 2025 12:44:42 +0000 (14:44 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 19 Sep 2025 08:04:02 +0000 (10:04 +0200)
commita6adbbc4c32a016146e117b1e9e5242724a75e10
tree2eb8aaed16861ffed9e654d83d1b00694e39ff66
parent20fd6b1bb43e01744334962646008289bf7fdf9e
fbcon: Rename struct fbcon_ops to struct fbcon_par

The type struct fbcon_ops contains fbcon state and callbacks. As the
callbacks will be removed from struct fbcon_ops, rename the data type
to struct fbcon_par. Also rename the variables from ops to par.

The _par postfix ("private access registers") is used throughout the
fbdev subsystem for per-driver state. The fbcon pointer within struct
fb_info is also named fbcon_par. Hence, the new naming fits existing
practice.

v2:
- rename struct fbcon_ops to struct fbcon_par
- fix build for CONFIG_FB_TILEBITTING=n (kernel test robot)
- fix indention

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://lore.kernel.org/r/20250909124616.143365-3-tzimmermann@suse.de
drivers/video/fbdev/core/bitblit.c
drivers/video/fbdev/core/fbcon.c
drivers/video/fbdev/core/fbcon.h
drivers/video/fbdev/core/fbcon_ccw.c
drivers/video/fbdev/core/fbcon_cw.c
drivers/video/fbdev/core/fbcon_rotate.c
drivers/video/fbdev/core/fbcon_rotate.h
drivers/video/fbdev/core/fbcon_ud.c
drivers/video/fbdev/core/softcursor.c
drivers/video/fbdev/core/tileblit.c