diff options
author | Fabio Estevam <festevam@gmail.com> | 2012-03-09 06:15:38 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-19 14:34:56 -0400 |
commit | 0c22affebae259c140ee55134bc0cf29aea3878d (patch) | |
tree | fc47ae77327b5e4663122f328960bf08e415e1ee /drivers/media/video/Kconfig | |
parent | 9080d5d3fa9888facd6898c6705b1a6713882955 (diff) |
[media] video: Kconfig: Select VIDEOBUF2_DMA_CONTIG for VIDEO_MX2
Fix the following build error:
LD .tmp_vmlinux1
drivers/built-in.o: In function `mx2_camera_init_videobuf':
clkdev.c:(.text+0xcfaf4): undefined reference to `vb2_dma_contig_memops'
drivers/built-in.o: In function `mx2_camera_probe':
clkdev.c:(.devinit.text+0x5734): undefined reference to `vb2_dma_contig_init_ctx'
clkdev.c:(.devinit.text+0x5778): undefined reference to `vb2_dma_contig_cleanup_ctx'
drivers/built-in.o: In function `mx2_camera_remove':
clkdev.c:(.devexit.text+0x89c): undefined reference to `vb2_dma_contig_cleanup_ctx'
commit c6a41e3271 ([media] media i.MX27 camera: migrate driver to videobuf2)
missed to select VIDEOBUF2_DMA_CONTIG in Kconfig.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/Kconfig')
-rw-r--r-- | drivers/media/video/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 3cea9797740e..3651762b6fa2 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -1109,7 +1109,7 @@ config VIDEO_MX2_HOSTSUPPORT | |||
1109 | config VIDEO_MX2 | 1109 | config VIDEO_MX2 |
1110 | tristate "i.MX27/i.MX25 Camera Sensor Interface driver" | 1110 | tristate "i.MX27/i.MX25 Camera Sensor Interface driver" |
1111 | depends on VIDEO_DEV && SOC_CAMERA && (MACH_MX27 || ARCH_MX25) | 1111 | depends on VIDEO_DEV && SOC_CAMERA && (MACH_MX27 || ARCH_MX25) |
1112 | select VIDEOBUF_DMA_CONTIG | 1112 | select VIDEOBUF2_DMA_CONTIG |
1113 | select VIDEO_MX2_HOSTSUPPORT | 1113 | select VIDEO_MX2_HOSTSUPPORT |
1114 | ---help--- | 1114 | ---help--- |
1115 | This is a v4l2 driver for the i.MX27 and the i.MX25 Camera Sensor | 1115 | This is a v4l2 driver for the i.MX27 and the i.MX25 Camera Sensor |