Skip to content

Commit 51521d2

Browse files
arndbhdeller
authored andcommitted
fbdev: wm8505fb: select CONFIG_FB_IOMEM_FOPS
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 referenced by wm8505fb.c drivers/video/fbdev/wm8505fb.o:(wm8505fb_ops) in archive vmlinux.a Fixes: 11754a5 ("fbdev/wm8505fb: Initialize fb_ops to fbdev I/O-memory helpers") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent bb94f56 commit 51521d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/video/fbdev/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,6 +1373,7 @@ config FB_VT8500
13731373
config FB_WM8505
13741374
bool "Wondermedia WM8xxx-series frame buffer support"
13751375
depends on (FB = y) && HAS_IOMEM && (ARCH_VT8500 || COMPILE_TEST)
1376+
select FB_IOMEM_FOPS
13761377
select FB_SYS_FILLRECT if (!FB_WMT_GE_ROPS)
13771378
select FB_SYS_COPYAREA if (!FB_WMT_GE_ROPS)
13781379
select FB_SYS_IMAGEBLIT

0 commit comments

Comments
 (0)