Commit d9fbdedc authored by Dillon Min's avatar Dillon Min Committed by Mauro Carvalho Chehab

media: stm32-dma2d: fix compile-testing failed

get compile-test failed report from lkp@intel.com after the driver
submitted.

"ld.lld: error: undefined symbol: v4l2_fh_init"

so, make CONFIG_STM32_DMA2D depends on CONFIG_VIDEO_DEV and
CONFIG_VIDEO_V4L2 to fix this compile error.

Fixes: bff6e3e2f4c9 ("media: stm32-dma2d: STM32 DMA2D driver")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarDillon Min <dillon.minfei@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 147907e9
...@@ -494,7 +494,8 @@ endif # VIDEO_STI_DELTA ...@@ -494,7 +494,8 @@ endif # VIDEO_STI_DELTA
config VIDEO_STM32_DMA2D config VIDEO_STM32_DMA2D
tristate "STM32 Chrom-Art Accelerator (DMA2D)" tristate "STM32 Chrom-Art Accelerator (DMA2D)"
depends on (VIDEO_DEV && VIDEO_V4L2 && ARCH_STM32) || COMPILE_TEST depends on VIDEO_DEV && VIDEO_V4L2
depends on ARCH_STM32 || COMPILE_TEST
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select V4L2_MEM2MEM_DEV select V4L2_MEM2MEM_DEV
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment