Re: linux-next: build failure after merge of the v4l-dvb tree

From: Jonathan Corbet
Date: Tue Jul 05 2011 - 08:43:40 EST


On Mon, 4 Jul 2011 13:04:42 +1000
Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: "vb2_dma_contig_init_ctx" [drivers/media/video/marvell-ccic/cafe_ccic.ko] undefined!
> ERROR: "vb2_dma_contig_cleanup_ctx" [drivers/media/video/marvell-ccic/cafe_ccic.ko] undefined!
> ERROR: "vb2_dma_contig_memops" [drivers/media/video/marvell-ccic/cafe_ccic.ko] undefined!
>
> I have used the v4l-dvb tree from next-20110701 for today.

That was my silly mistake, sorry; I messed up the configuration for that
platform. Hans ran into it first; this patch from him will fix things up
until my next series gets into Mauro's tree.

Sorry,

jon

From: Hans Verkuil <hverkuil@xxxxxxxxx>
Add a missing selection for cafe_ccic

diff --git a/drivers/media/video/marvell-ccic/Kconfig b/drivers/media/video/marvell-ccic/Kconfig
index 22314a0..68ff5d6 100644
--- a/drivers/media/video/marvell-ccic/Kconfig
+++ b/drivers/media/video/marvell-ccic/Kconfig
@@ -3,6 +3,7 @@ config VIDEO_CAFE_CCIC
depends on PCI && I2C && VIDEO_V4L2
select VIDEO_OV7670
select VIDEOBUF2_VMALLOC
+ select VIDEOBUF2_DMA_CONTIG
---help---
This is a video4linux2 driver for the Marvell 88ALP01 integrated
CMOS camera controller. This is the controller found on first-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/