media: wave5: add OF and V4L_MEM2MEM_DRIVERS dependencies
Fix compile warning when CONFIG_OF=n: drivers/media/platform/chips-media/wave5/wave5-vpu.c:274:34: warning: 'wave5_dt_ids' defined but not used [-Wunused-const-variable=] 274 | static const struct of_device_id wave5_dt_ids[] = { | Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: added commit log text]
This commit is contained in:
parent
a00b3f296e
commit
3b8551e732
@ -1,7 +1,8 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
config VIDEO_WAVE_VPU
|
||||
tristate "Chips&Media Wave Codec Driver"
|
||||
depends on VIDEO_DEV
|
||||
depends on V4L_MEM2MEM_DRIVERS
|
||||
depends on VIDEO_DEV && OF
|
||||
select VIDEOBUF2_DMA_CONTIG
|
||||
select VIDEOBUF2_VMALLOC
|
||||
select V4L2_MEM2MEM_DEV
|
||||
|
Loading…
Reference in New Issue
Block a user