diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-08-06 13:59:01 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-08-28 09:44:17 +0200 |
commit | d1ed0f1d2a047035fcfc9f62a2423c7ee2d057f4 (patch) | |
tree | 039309faf1f51979d3e0f7c21329721c8fd1fc84 /drivers/video/fbdev/Kconfig | |
parent | 10ff3e6c8dbb9f1f47eefee842803a7661fd25ee (diff) | |
download | linux-stable-d1ed0f1d2a047035fcfc9f62a2423c7ee2d057f4.tar.gz linux-stable-d1ed0f1d2a047035fcfc9f62a2423c7ee2d057f4.tar.bz2 linux-stable-d1ed0f1d2a047035fcfc9f62a2423c7ee2d057f4.zip |
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
Diffstat (limited to 'drivers/video/fbdev/Kconfig')
-rw-r--r-- | drivers/video/fbdev/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 3bade062ac3f..ae2b0c07223f 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -577,9 +577,7 @@ config FB_CG14 config FB_P9100 bool "P9100 (Sparcbook 3 only) support" depends on FB_SBUS - select FB_CFB_FILLRECT - select FB_CFB_COPYAREA - select FB_CFB_IMAGEBLIT + select FB_SBUS_HELPERS help This is the frame buffer device driver for the P9100 card supported on Sparcbook 3 machines. |