]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fbdev: wm8505fb: select CONFIG_FB_IOMEM_FOPS
authorArnd Bergmann <arnd@arndb.de>
Fri, 18 Oct 2024 15:12:49 +0000 (15:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Nov 2024 01:02:39 +0000 (02:02 +0100)
commit4a27813ba6e85b12ca626722438526325306198d
tree4632b21bae8b663170c6d1eb280a15972100c7c1
parent3452d39c4704aa12504e4190298c721fb01083c3
fbdev: wm8505fb: select CONFIG_FB_IOMEM_FOPS

[ Upstream commit 51521d2e2c35959cc70a62ccddf694965e29c950 ]

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: 11754a504608 ("fbdev/wm8505fb: Initialize fb_ops to fbdev I/O-memory helpers")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/Kconfig