V4L: mx3_camera: select VIDEOBUF2_DMA_CONTIG instead of VIDEOBUF_DMA_CONTIG
PATCH 1/1 V4L: mx3_camera: select VIDEOBUF2_DMA_CONTIG instead of VIDEOBUF_DMA_CONTIG
Since commit
379fa5d ([media] V4L: mx3_camera: convert to videobuf2)
mx3_camera uses videobuf2, but that commit didn't upgrade the select resulting in the following build failure:
drivers/built-in.o: In function `mx3_camera_init_videobuf': clkdev.c:(.text+0x86580): undefined reference to `vb2_dma_contig_memops' drivers/built-in.o: In function `mx3_camera_probe': clkdev.c:(.devinit.text+0x3548): undefined reference to `vb2_dma_contig_init_ctx' clkdev.c:(.devinit.text+0x3578): undefined reference to `vb2_dma_contig_cleanup_ctx' drivers/built-in.o: In function `mx3_camera_remove': clkdev.c:(.devexit.text+0x674): undefined reference to `vb2_dma_contig_cleanup_ctx' make[2]: *** [.tmp_vmlinux1] Error 1 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2
---
Hello,
does someone has a hint how to fix gcc not to believe the undefined references to be in clkdev.c?
Best regards
Uwe
drivers/media/video/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/Kconfig +1 -1
@@ -875,7 +875,7 @@ config MX3_VIDEO config VIDEO_MX3 tristate "i.MX3x Camera Sensor Interface driver" depends on VIDEO_DEV && MX3_IPU && SOC_CAMERA - select VIDEOBUF_DMA_CONTIG + select VIDEOBUF2_DMA_CONTIG select MX3_VIDEO ---help--- This is a v4l2 driver for the i.MX3x Camera Sensor Interface
Signature · 1 line
1.7.2.3
PATCH 1/1 V4L: mx3_camera: select VIDEOBUF2_DMA_CONTIG instead of VIDEOBUF_DMA_CONTIG
Hi Guennadi,
Quoted 18 lines · Uwe Kleine-K?nig
Since commit
379fa5d ([media] V4L: mx3_camera: convert to videobuf2)
mx3_camerauses videobuf2, but that commit didn't upgrade the select resulting in the following build failure:drivers/built-in.o: In function `mx3_camera_init_videobuf': clkdev.c:(.text+0x86580): undefined reference to `vb2_dma_contig_memops' drivers/built-in.o: In function `mx3_camera_probe': clkdev.c:(.devinit.text+0x3548): undefined reference to `vb2_dma_contig_init_ctx' clkdev.c:(.devinit.text+0x3578): undefined reference to `vb2_dma_contig_cleanup_ctx' drivers/built-in.o: In function `mx3_camera_remove': clkdev.c:(.devexit.text+0x674): undefined reference to `vb2_dma_contig_cleanup_ctx' make[2]: *** [.tmp_vmlinux1] Error 1 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2
Quoted 2 lines
Signed-off-by Uwe Kleine-K?nig <[email protected]>---
I guess the only problem with this is -ENOTIME on your side?
Quoted 2 lines
does someone has a hint how to fix gcc not to believe the undefined references to be in
clkdev.c?
I got a hint that might be related to ccache. Didn't look into it yet, though.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |
PATCH 1/1 V4L: mx3_camera: select VIDEOBUF2_DMA_CONTIG instead of VIDEOBUF_DMA_CONTIG
Quoted 21 lines · Uwe Kleine-K?nig
Hi Guennadi,
Quoted 18 lines · Uwe Kleine-K?nig
Since commit
379fa5d ([media] V4L: mx3_camera: convert to videobuf2)
mx3_camerauses videobuf2, but that commit didn't upgrade the select resulting in the following build failure:drivers/built-in.o: In function `mx3_camera_init_videobuf': clkdev.c:(.text+0x86580): undefined reference to `vb2_dma_contig_memops' drivers/built-in.o: In function `mx3_camera_probe': clkdev.c:(.devinit.text+0x3548): undefined reference to `vb2_dma_contig_init_ctx' clkdev.c:(.devinit.text+0x3578): undefined reference to `vb2_dma_contig_cleanup_ctx' drivers/built-in.o: In function `mx3_camera_remove': clkdev.c:(.devexit.text+0x674): undefined reference to `vb2_dma_contig_cleanup_ctx' make[2]: *** [.tmp_vmlinux1] Error 1 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2
Quoted 3 lines
Quoted 2 lines
Signed-off-by Uwe Kleine-K?nig <[email protected]>---
I guess the only problem with this is
-ENOTIMEon your side?
It's been pushed upstream almost 2 weeks ago:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/31352
Thanks
Guennadi
Quoted 13 lines
Quoted 3 lines
does someone has a hint how to fix gcc not to believe the undefined references to be in
clkdev.c?I got a hint that might be related to ccache. Didn't look into it yet, though.
Best regards
UweSignature · 2 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
PATCH 1/1 V4L: mx3_camera: select VIDEOBUF2_DMA_CONTIG instead of VIDEOBUF_DMA_CONTIG
Uwe,
Quoted 3 lines · Guennadi Liakhovetski
It's been pushed upstream almost 2 weeks ago:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/31352
As our autobuilder does still trigger, I assume that the configs have to be refreshed and it may be an issue on our side. Can you take care of that?
rsc
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
PATCH 1/1 V4L: mx3_camera: select VIDEOBUF2_DMA_CONTIG instead of VIDEOBUF_DMA_CONTIG
Quoted 10 lines · Robert Schwebel
Uwe,
Quoted 3 lines · Guennadi Liakhovetski
It's been pushed upstream almost 2 weeks ago:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/31352
As our autobuilder does still trigger, I assume that the configs have to be refreshed and it may be an issue on our side. Can you take care of that?
Just take a look at what's in mainline:
config VIDEO_MX3
tristate "i.MX3x Camera Sensor Interface driver" depends on VIDEO_DEV && MX3_IPU && SOC_CAMERA select VIDEOBUF_DMA_CONTIG
select MX3_VIDEO
---help---
This is a v4l2 driver for the i.MX3x Camera Sensor Interface
and you'll see that it hasn't made it there yet. If I search for 'linuxtv.org' in the history post 2.6.39-rc2, there's no sign of it.
PATCH 1/1 V4L: mx3_camera: select VIDEOBUF2_DMA_CONTIG instead of VIDEOBUF_DMA_CONTIG
In reply to Robert SchwebelHi Robert,
Quoted 8 lines · Robert Schwebel
Quoted 3 lines · Guennadi Liakhovetski
It's been pushed upstream almost 2 weeks ago:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/31352
As our autobuilder does still trigger, I assume that the configs have to be refreshed and it may be an issue on our side. Can you take care of that?
The problem is not our config, but that the change didn't hit next (next-20110418) yet.
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 (master) (which I guess is the tree targeted by Guennadi's pull request) is currently at
78fca1b9 (Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6)
which doesn't contain Guennadi's pull request. Also the other branches in Mauro's repo don't contain it, in fact the repository is fully merged into Linus tree.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |