Skip to content

Commit 0066c76

Browse files
arndbmchehab
authored andcommitted
media: au0828: add VIDEO_V4L2 dependency
After the move of videobuf2 into the common directory, selecting the au0828 driver with CONFIG_V4L2 disabled started causing a link failure, as we now attempt to build videobuf2 but it still requires v4l2: ERROR: "v4l2_event_pending" [drivers/media/common/videobuf/videobuf2-v4l2.ko] undefined! ERROR: "v4l2_fh_release" [drivers/media/common/videobuf/videobuf2-v4l2.ko] undefined! ERROR: "video_devdata" [drivers/media/common/videobuf/videobuf2-v4l2.ko] undefined! ERROR: "__tracepoint_vb2_buf_done" [drivers/media/common/videobuf/videobuf2-core.ko] undefined! ERROR: "__tracepoint_vb2_dqbuf" [drivers/media/common/videobuf/videobuf2-core.ko] undefined! ERROR: "v4l_vb2q_enable_media_source" [drivers/media/common/videobuf/videobuf2-core.ko] undefined! This adds the same dependency in au0828 that the other users of videobuf2 have. Fixes: 03fbdb2 ("media: move videobuf2 to drivers/media/common") Fixes: 05439b1 ("[media] media: au0828 - convert to use videobuf2") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 85e60bd commit 0066c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/usb/au0828/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
config VIDEO_AU0828
33
tristate "Auvitek AU0828 support"
4-
depends on I2C && INPUT && DVB_CORE && USB
4+
depends on I2C && INPUT && DVB_CORE && USB && VIDEO_V4L2
55
select I2C_ALGOBIT
66
select VIDEO_TVEEPROM
77
select VIDEOBUF2_VMALLOC

0 commit comments

Comments
 (0)