• Fabio Estevam's avatar
    [media] video: Kconfig: Select VIDEOBUF2_DMA_CONTIG for VIDEO_MX2 · 0c22affe
    Fabio Estevam authored
    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 c6a41e32 ([media] media i.MX27 camera: migrate driver to videobuf2)
    missed to select VIDEOBUF2_DMA_CONTIG in Kconfig.
    Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    0c22affe
Kconfig 32.9 KB