linux/drivers/media/test-drivers
Arnd Bergmann 549d899444 media: vivid: fix FB dependency
It's not enough to have a dependency on CONFIG_FB, as that can be in
a loadable module when vivid itself is builtin:

drivers/media/test-drivers/vivid/vivid-osd.o: in function `vivid_fb_init':
vivid-osd.c:(.text+0xdc0): undefined reference to `fb_alloc_cmap'
vivid-osd.c:(.text+0xe26): undefined reference to `register_framebuffer'

Change the dependency to only allow configurations that can be built,
but change the FB to FB_CORE so this is also possible when using
DRM with FB compatibility rather than full fbdev.

Fixes: 20889ddede ("media: vivid: Introduce VIDEO_VIVID_OSD")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2025-04-07 08:10:38 +02:00
..
vicodec media: replace obsolete hans.verkuil@cisco.com alias 2024-11-08 13:38:09 +01:00
vidtv media: vidtv: Fix a null-ptr-deref in vidtv_mux_stop_thread 2025-01-07 12:21:39 +01:00
vimc media: vimc: skip .s_stream() for stopped entities 2025-03-05 17:40:18 +01:00
visl media: visl: Fix ERANGE error when setting enum controls 2025-02-25 11:11:06 +01:00
vivid media: vivid: fix FB dependency 2025-04-07 08:10:38 +02:00
Kconfig
Makefile
vim2m.c media: vim2m: print device name after registering device 2025-03-06 17:33:10 +01:00