]> git.baikalelectronics.ru Git - kernel.git/commit
media: stm32-dma2d: fix compile-testing failed
authorDillon Min <dillon.minfei@gmail.com>
Thu, 28 Oct 2021 06:40:20 +0000 (07:40 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:12:05 +0000 (08:12 +0000)
commit7cf22ed3837bbe3ffac93bdb469353d6336d9c34
treeac93dd41e4ac2198b3f434460aad763f2e8c3e7b
parentb4fd70662a62fc50cd021e36069e5b7d40f28b32
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: kernel test robot <lkp@intel.com>
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/Kconfig