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.verk...@cisco.com>
---
 drivers/media/pci/tw5864/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/pci/tw5864/Kconfig b/drivers/media/pci/tw5864/Kconfig
index 760fb11..87c8f32 100644
--- a/drivers/media/pci/tw5864/Kconfig
+++ b/drivers/media/pci/tw5864/Kconfig
@@ -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
-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to