linux/drivers/media
Mauro Carvalho Chehab 93049b9368 videobuf2-dma-contig: Only support if HAVE_GENERIC_DMA_COHERENT
As reported by Stephen:

> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: "dma_common_get_sgtable" [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!
>
> Caused by commit 9ef2cbeb81 ("[media] v4l: vb2-dma-contig: add support
> for DMABUF exporting").  dma_common_get_sgtable() is called from the
> inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is "called
> from" dma_get_sgtable().  dma_common_get_sgtable() is only defined if
> ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
> CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.

The simplest fix is to just not support DMABUF with vb2-contig, on archs
where this symbol doesn't exist. Some latter patch can rewrite it to
support this outside -arm.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-11-26 09:41:09 -02:00
..
common [media] siano: fix build with allmodconfig 2012-11-23 13:48:39 -02:00
dvb-core [media] dmxdev: fix a comparition of unsigned expression warning 2012-10-28 07:38:42 -02:00
dvb-frontends [media] ds3000: remove useless 'locking' 2012-11-22 19:19:00 -02:00
firewire [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
i2c [media] mt9v022: set y_skip_top field to zero as default 2012-11-22 11:36:50 -02:00
mmc [media] siano: fix RC compilation 2012-11-07 11:09:08 +01:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci [media] cx25821: Replace kmemdup for kstrdup and clean up 2012-11-22 16:46:56 -02:00
platform [media] v4l: s5p-mfc: support for dmabuf exporting 2012-11-25 17:21:58 -02:00
radio [media] drivers/media/radio/radio-cadet.c: fix error return code 2012-11-22 14:20:34 -02:00
rc [media] winbond-cir: add carrier detection 2012-11-21 17:06:17 -02:00
tuners [media] xc4000: Fix a few warnings 2012-10-29 08:04:21 -02:00
usb [media] v4l: uvc: add support for DMABUF importing 2012-11-25 17:19:31 -02:00
v4l2-core videobuf2-dma-contig: Only support if HAVE_GENERIC_DMA_COHERENT 2012-11-26 09:41:09 -02:00
Kconfig [media] Kconfig: Fix dependencies for driver autoselect options 2012-10-17 16:45:56 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c [media] media-devnode: Replace printk with pr_* 2012-09-27 14:19:23 -03:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00