fbdev/p9100: Use initializer macro for struct fb_ops
authorThomas Zimmermann <tzimmermann@suse.de>
Sun, 6 Aug 2023 11:59:01 +0000 (13:59 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 28 Aug 2023 07:44:17 +0000 (09:44 +0200)
commitd1ed0f1d2a047035fcfc9f62a2423c7ee2d057f4
tree039309faf1f51979d3e0f7c21329721c8fd1fc84
parent10ff3e6c8dbb9f1f47eefee842803a7661fd25ee
fbdev/p9100: Use initializer macro for struct fb_ops

Initialize struct fb_ops to the correct default values with the
macro FB_DEFAULT_SBUS_OPS(). Rename the ioctl and mmap callbacks
to use the infix _sbusfb_. This makes them fit the SBUS helpers'
naming pattern. Also make the driver depend on FB_SBUS_HELPERS,
which selects the correct modules.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230806120926.5368-11-tzimmermann@suse.de
drivers/video/fbdev/Kconfig
drivers/video/fbdev/p9100.c