[media] tw5864: add missing HAS_DMA dependency
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 14 Aug 2016 09:37:29 +0000 (06:37 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 14:17:48 +0000 (11:17 -0300)
Fix this warning:

warning: (VIDEO_TW5864 && VIDEO_MEDIATEK_VCODEC) selects VIDEOBUF2_DMA_CONTIG which has unmet direct dependencies (MEDIA_SUPPORT && HAS_DMA)

This driver depends on HAS_DMA.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/tw5864/Kconfig

index 760fb11dfeaef47b203d48b669cae3ea4f30fae9..87c8f327e2d49dfa2a570e32959db3f4243ef192 100644 (file)
@@ -1,6 +1,7 @@
 config VIDEO_TW5864
        tristate "Techwell TW5864 video/audio grabber and encoder"
        depends on VIDEO_DEV && PCI && VIDEO_V4L2
+       depends on HAS_DMA
        select VIDEOBUF2_DMA_CONTIG
        ---help---
          Support for boards based on Techwell TW5864 chip which provides