]> git.baikalelectronics.ru Git - kernel.git/commit
media: marvel-ccic: mmp: select VIDEOBUF2_VMALLOC/DMA_CONTIG
authorArnd Bergmann <arnd@arndb.de>
Mon, 28 May 2018 15:57:00 +0000 (11:57 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 5 Jun 2018 13:48:50 +0000 (09:48 -0400)
commite220844d250bc43277de312f715c2249a756e975
tree51efafee6d6c9a599212ec3e0723c139a08e49e4
parenta4d731a165993ea0b113c6366fe4a9034047e4bf
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: 06c30551b103 ("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>
drivers/media/platform/marvell-ccic/Kconfig