Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fbdev/g364fb: Use fbdev I/O helpers

Set struct fb_ops and with FB_DEFAULT_IOMEM_OPS, fbdev's initializer
for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions.
Select the correct modules with Kconfig's FB_IOMEM_HELPERS token.

The macro and token set the currently selected values, so there is
no functional change.

v3:
* use _IOMEM_ in commit message
v2:
* updated to use _IOMEM_ tokens

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230803184034.6456-13-tzimmermann@suse.de

+2 -6
+1 -3
drivers/video/fbdev/Kconfig
··· 1577 1577 config FB_G364 1578 1578 bool "G364 frame buffer support" 1579 1579 depends on (FB = y) && (MIPS_MAGNUM_4000 || OLIVETTI_M700) 1580 - select FB_CFB_FILLRECT 1581 - select FB_CFB_COPYAREA 1582 - select FB_CFB_IMAGEBLIT 1580 + select FB_IOMEM_HELPERS 1583 1581 help 1584 1582 The G364 driver is the framebuffer used in MIPS Magnum 4000 and 1585 1583 Olivetti M700-10 systems.
+1 -3
drivers/video/fbdev/g364fb.c
··· 112 112 113 113 static const struct fb_ops g364fb_ops = { 114 114 .owner = THIS_MODULE, 115 + FB_DEFAULT_IOMEM_HELPERS, 115 116 .fb_setcolreg = g364fb_setcolreg, 116 117 .fb_pan_display = g364fb_pan_display, 117 118 .fb_blank = g364fb_blank, 118 - .fb_fillrect = cfb_fillrect, 119 - .fb_copyarea = cfb_copyarea, 120 - .fb_imageblit = cfb_imageblit, 121 119 }; 122 120 123 121 /*