summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeborah Brouwer <deborah.brouwer@collabora.com>2023-11-24 01:08:41 +0300
committerSom Qin <som.qin@starfivetech.com>2024-01-23 09:38:00 +0300
commit27d92ac2cb292d0d4b35aa7d777ce5ed7e722910 (patch)
tree4f707616621dbc596dfc512abfd7cc13bf1fdf36
parent7a2df7c75e2942bbc625edaab92db0a222450b40 (diff)
downloadlinux-27d92ac2cb292d0d4b35aa7d777ce5ed7e722910.tar.xz
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]
-rw-r--r--drivers/media/platform/chips-media/wave5/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/chips-media/wave5/Kconfig b/drivers/media/platform/chips-media/wave5/Kconfig
index a3b949356cd5..77e7ae5c8f35 100644
--- a/drivers/media/platform/chips-media/wave5/Kconfig
+++ b/drivers/media/platform/chips-media/wave5/Kconfig
@@ -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