forked from Minki/linux
bf7096c664
If NO_DMA=y: warning: (VIDEO_XILINX && VIDEO_DM365_VPFE && VIDEO_DT3155 && VIDEO_OMAP4) selects VIDEOBUF2_DMA_CONTIG which has unmet direct dependencies (MEDIA_SUPPORT && HAS_DMA) media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’: media/v4l2-core/videobuf2-dma-contig.c:207: error: implicit declaration of function ‘dma_mmap_coherent’ media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_get_base_sgt’: media/v4l2-core/videobuf2-dma-contig.c:390: error: implicit declaration of function ‘dma_get_sgtable’ VIDEO_XILINX selects VIDEOBUF2_DMA_CONTIG, which bypasses its dependency on HAS_DMA. Make VIDEO_XILINX depend on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
24 lines
592 B
Plaintext
24 lines
592 B
Plaintext
config VIDEO_XILINX
|
|
tristate "Xilinx Video IP (EXPERIMENTAL)"
|
|
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && OF && HAS_DMA
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
---help---
|
|
Driver for Xilinx Video IP Pipelines
|
|
|
|
if VIDEO_XILINX
|
|
|
|
config VIDEO_XILINX_TPG
|
|
tristate "Xilinx Video Test Pattern Generator"
|
|
depends on VIDEO_XILINX
|
|
select VIDEO_XILINX_VTC
|
|
---help---
|
|
Driver for the Xilinx Video Test Pattern Generator
|
|
|
|
config VIDEO_XILINX_VTC
|
|
tristate "Xilinx Video Timing Controller"
|
|
depends on VIDEO_XILINX
|
|
---help---
|
|
Driver for the Xilinx Video Timing Controller
|
|
|
|
endif #VIDEO_XILINX
|