forked from Minki/linux
caaee5f832
The mmp ccic driver expects a platform_data structure that does not exist
in the mainline kernel and presumably was changed in a kernel fork, which
leads to build errors now:
media/platform/marvell-ccic/mmp-driver.c: In function 'mmpcam_calc_dphy':
media/platform/marvell-ccic/mmp-driver.c:252:15: error: 'struct mmp_camera_platform_data' has no member named 'dphy3_algo'
switch (pdata->dphy3_algo) {
^
media/platform/marvell-ccic/mmp-driver.c:253:7: error: 'DPHY3_ALGO_PXA910' undeclared (first use in this function)
case DPHY3_ALGO_PXA910:
^
media/platform/marvell-ccic/mmp-driver.c:253:7: note: each undeclared identifier is reported only once for each function it appears in
media/platform/marvell-ccic/mmp-driver.c:257:8: error: 'struct mmp_camera_platform_data' has no member named 'dphy'
This marks the driver as 'BROKEN' but keeps the code around.
Alternatively it could be removed entirely.
Fixes: 05fed81625
("[media] marvell-ccic: add MIPI support for marvell-ccic driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Cc: Libin Yang <lbyang@marvell.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
27 lines
869 B
Plaintext
27 lines
869 B
Plaintext
config VIDEO_CAFE_CCIC
|
|
tristate "Marvell 88ALP01 (Cafe) CMOS Camera Controller support"
|
|
depends on PCI && I2C && VIDEO_V4L2
|
|
depends on HAS_DMA
|
|
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 ARCH_MMP && I2C && VIDEO_V4L2
|
|
depends on HAS_DMA && BROKEN
|
|
select VIDEO_OV7670
|
|
select I2C_GPIO
|
|
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.
|
|
|