[media] VIDEO_CAFE_CCIC should select VIDEOBUF2_DMA_SG
authorGeert Uytterhoeven <[email protected]>
Mon, 15 Dec 2014 13:55:37 +0000 (10:55 -0300)
committerMauro Carvalho Chehab <[email protected]>
Tue, 23 Dec 2014 12:48:35 +0000 (10:48 -0200)
If VIDEO_CAFE_CCIC=y, but VIDEOBUF2_DMA_SG=m:

drivers/built-in.o: In function `mcam_v4l_open':
mcam-core.c:(.text+0x1c2e81): undefined reference to `vb2_dma_sg_memops'
mcam-core.c:(.text+0x1c2eb0): undefined reference to `vb2_dma_sg_init_ctx'
drivers/built-in.o: In function `mcam_v4l_release':
mcam-core.c:(.text+0x1c34bf): undefined reference to `vb2_dma_sg_cleanup_ctx'

Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Jonathan Corbet <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/platform/marvell-ccic/Kconfig

index 6265d36adcebcb893ca9345765fac5337d8835e3..3d166568bd6955bd83e6c63d3276db4b3b911e31 100644 (file)
@@ -5,6 +5,7 @@ config VIDEO_CAFE_CCIC
        select VIDEO_OV7670
        select VIDEOBUF2_VMALLOC
        select VIDEOBUF2_DMA_CONTIG
+       select VIDEOBUF2_DMA_SG
        ---help---
          This is a video4linux2 driver for the Marvell 88ALP01 integrated
          CMOS camera controller.  This is the controller found on first-