linux-stable/drivers/auxdisplay
Thomas Zimmermann df558d5313 auxdisplay/ht16k33: Initialize fb_ops with fbdev macros
Initialize the instance of struct fb_ops with fbdev initializer
macros for framebuffers in virtual address space. Set the read/write,
draw and mmap callbacks to the correct implementation and avoid
implicit defaults. Also select the necessary helpers in Kconfig.

Fbdev drivers sometimes rely on the callbacks being NULL for a
default I/O-memory-based implementation to be invoked; hence
requiring the I/O helpers to be built in any case. Setting all
callbacks in all drivers explicitly will allow to make the I/O
helpers optional. This benefits systems that do not use these
functions.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Robin van der Gracht <robin@protonic.nl>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Robin van der Gracht <robin@protonic.nl>
Link: https://patchwork.freedesktop.org/patch/msgid/20231127131655.4020-11-tzimmermann@suse.de
2023-11-29 12:20:24 +01:00
..
arm-charlcd.c auxdisplay: Replace HTTP links with HTTPS ones 2020-08-08 16:10:03 +02:00
cfag12864b.c auxdisplay: Replace symbolic permissions with octal permissions 2021-07-16 07:42:35 +02:00
cfag12864bfb.c auxdisplay/cfag12864bfb: Initialize fb_ops with fbdev macros 2023-11-29 12:20:21 +01:00
charlcd.c auxdisplay: charlcd: checking for pointer reference before dereferencing 2021-11-24 11:46:52 +01:00
charlcd.h auxdisplay: Change gotoxy calling interface 2020-11-04 11:04:04 +01:00
hd44780.c auxdisplay: hd44780: Fix potential memory leak in hd44780_remove() 2022-12-12 12:21:41 +01:00
hd44780_common.c auxdisplay: hd44780: move cursor home after clear display command 2023-08-19 21:53:49 +02:00
hd44780_common.h auxdisplay: Change gotoxy calling interface 2020-11-04 11:04:04 +01:00
ht16k33.c auxdisplay/ht16k33: Initialize fb_ops with fbdev macros 2023-11-29 12:20:24 +01:00
img-ascii-lcd.c auxdisplay: Extract character line display core support 2021-10-21 23:36:28 +02:00
Kconfig auxdisplay/ht16k33: Initialize fb_ops with fbdev macros 2023-11-29 12:20:24 +01:00
ks0108.c auxdisplay: ks0108: remove superfluous header files 2021-10-22 00:04:43 +02:00
lcd2s.c auxdisplay: Switch i2c drivers back to use .probe() 2023-06-02 13:23:32 +02:00
line-display.c auxdisplay: linedisp: Add support for changing scroll rate 2021-10-21 23:36:29 +02:00
line-display.h auxdisplay: Extract character line display core support 2021-10-21 23:36:28 +02:00
Makefile auxdisplay: Extract character line display core support 2021-10-21 23:36:28 +02:00
panel.c auxdisplay: panel: Replace deprecated strncpy() with strtomem_pad() 2023-09-29 14:48:31 -07:00