forked from Minki/linux
fc6c19fb71
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: 0a9c643c8f
("media: marvel-ccic: re-enable mmp-driver build")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
28 lines
899 B
Plaintext
28 lines
899 B
Plaintext
config VIDEO_CAFE_CCIC
|
|
tristate "Marvell 88ALP01 (Cafe) CMOS Camera Controller support"
|
|
depends on PCI && I2C && VIDEO_V4L2
|
|
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-
|
|
generation OLPC systems.
|
|
|
|
config VIDEO_MMP_CAMERA
|
|
tristate "Marvell Armada 610 integrated camera controller support"
|
|
depends on I2C && VIDEO_V4L2
|
|
depends on ARCH_MMP || COMPILE_TEST
|
|
select VIDEO_OV7670
|
|
select I2C_GPIO
|
|
select VIDEOBUF2_VMALLOC
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select VIDEOBUF2_DMA_SG
|
|
---help---
|
|
This is a Video4Linux2 driver for the integrated camera
|
|
controller found on Marvell Armada 610 application
|
|
processors (and likely beyond). This is the controller found
|
|
in OLPC XO 1.75 systems.
|
|
|