Commit fc6c19fb authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mauro Carvalho Chehab

media: marvel-ccic: mmp: select VIDEOBUF2_VMALLOC/DMA_CONTIG

Testing randconfig builds after the return of the mmp ccic driver shows
a link error in some configurations:

drivers/media/platform/marvell-ccic/mcam-core.o: In function `mccic_register':
mcam-core.c:(.text+0x2e48): undefined reference to `vb2_dma_contig_memops'

A closer look at the mcam-core.c file reveals that we need to select
both VIDEOBUF2_DMA_CONTIG and VIDEOBUF2_VMALLOC, as already do for
VIDEO_CAFE_CCIC.

Fixes: 0a9c643c ("media: marvel-ccic: re-enable mmp-driver build")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent ee20a445
...@@ -16,6 +16,8 @@ config VIDEO_MMP_CAMERA ...@@ -16,6 +16,8 @@ config VIDEO_MMP_CAMERA
depends on ARCH_MMP || COMPILE_TEST depends on ARCH_MMP || COMPILE_TEST
select VIDEO_OV7670 select VIDEO_OV7670
select I2C_GPIO select I2C_GPIO
select VIDEOBUF2_VMALLOC
select VIDEOBUF2_DMA_CONTIG
select VIDEOBUF2_DMA_SG select VIDEOBUF2_DMA_SG
---help--- ---help---
This is a Video4Linux2 driver for the integrated camera This is a Video4Linux2 driver for the integrated camera
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment