aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2025-03-14 21:38:55 +0000
committerHans Verkuil <[email protected]>2025-04-07 06:10:38 +0000
commit549d8994447f2f628c6cedd139d53926bdfee881 (patch)
treea61d90887b9b9e277d1475d4a66f9829fa5b24df /scripts/gcc-plugins/cyc_complexity_plugin.c
parentLinux 6.15-rc1 (diff)
downloadkernel-549d8994447f2f628c6cedd139d53926bdfee881.tar.gz
kernel-549d8994447f2f628c6cedd139d53926bdfee881.zip
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: 20889ddede38 ("media: vivid: Introduce VIDEO_VIVID_OSD") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Ricardo Ribalda <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions