Skip to contentSkip to conversation

fbdev/wm8505fb: select CONFIG_FB_IOMEM_FOPS

PATCH Applied Arnd Bergmann 3 participants 3 messages Oct 18, 2024 – Oct 21, 2024 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbdev/wm8505fb: select CONFIG_FB_IOMEM_FOPS

From: Arnd Bergmann <[email protected]>

The fb_io_mmap() function is used in the file operations but not enabled in all configurations unless FB_IOMEM_FOPS gets selected:

ld.lld-20: error: undefined symbol: fb_io_mmap

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

referenced by wm8505fb.c

              drivers/video/fbdev/wm8505fb.o:(wm8505fb_ops) in archive vmlinux.a
Fixes 11754a504608 ("fbdev/wm8505fb: Initialize fb_ops to fbdev I/O-memory helpers")
---
 drivers/video/fbdev/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/video/fbdev/Kconfig +1 -0
index 9957dde4a3f6..961d7f5bbbc2 100644
@@ -1388,6 +1388,7 @@ config FB_VT8500
 config FB_WM8505
 	bool "Wondermedia WM8xxx-series frame buffer support"
 	depends on (FB = y) && HAS_IOMEM && (ARCH_VT8500 || COMPILE_TEST)
+	select FB_IOMEM_FOPS
 	select FB_SYS_FILLRECT if (!FB_WMT_GE_ROPS)
 	select FB_SYS_COPYAREA if (!FB_WMT_GE_ROPS)
 	select FB_SYS_IMAGEBLIT
Signature · 1 line
2.39.5
maintainer Applied
#1 lore raw
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The fb_io_mmap() function is used in the file operations but not enabled in all configurations unless FB_IOMEM_FOPS gets selected:

Quoted 6 lines

ld.lld-20: error: undefined symbol: fb_io_mmap

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

referenced by wm8505fb.c

               drivers/video/fbdev/wm8505fb.o:(wm8505fb_ops) in archive vmlinux.a
Fixes 11754a504608 ("fbdev/wm8505fb: Initialize fb_ops to fbdev I/O-memory helpers")

applied.
Thanks!
Helge

Reviewed-by on v1 1/1
#2 lore raw
In reply to Arnd Bergmann

Am 18.10.24 um 17:12 schrieb Arnd Bergmann:

Quoted 11 lines

From: Arnd Bergmann <[email protected]>

The fb_io_mmap() function is used in the file operations but not enabled in all configurations unless FB_IOMEM_FOPS gets selected:

ld.lld-20: error: undefined symbol: fb_io_mmap

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

referenced by wm8505fb.c

               drivers/video/fbdev/wm8505fb.o:(wm8505fb_ops) in archive vmlinux.a
Fixes 11754a504608 ("fbdev/wm8505fb: Initialize fb_ops to fbdev I/O-memory helpers")
Quoted 16 lines
---
  drivers/video/fbdev/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/video/fbdev/Kconfig +1 -0
index 9957dde4a3f6..961d7f5bbbc2 100644
@@ -1388,6 +1388,7 @@ config FB_VT8500
  config FB_WM8505
  	bool "Wondermedia WM8xxx-series frame buffer support"
  	depends on (FB = y) && HAS_IOMEM && (ARCH_VT8500 || COMPILE_TEST)
+	select FB_IOMEM_FOPS
  	select FB_SYS_FILLRECT if (!FB_WMT_GE_ROPS)
  	select FB_SYS_COPYAREA if (!FB_WMT_GE_ROPS)
  	select FB_SYS_IMAGEBLIT
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)