linux/drivers/media/platform/davinci
Arnd Bergmann 24692801a4 [media] davinci: add V4L2 dependencies
The davinci media drivers use videobuf2, which they enable through
a 'select' statement. If one of these drivers is built-in, but
the v4l2 core is a loadable modules, we end up with a link
error:

drivers/built-in.o: In function `vb2_fop_mmap':
:(.text+0x113e84): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_create_bufs':
:(.text+0x114710): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_reqbufs':
:(.text+0x114ed8): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_querybuf':
:(.text+0x115530): undefined reference to `video_devdata'

To solve this, we need to add a dependency on VIDEO_V4L2,
which enforces that the davinci drivers themselves can only
be loadable modules if V4L2 is not built-in, and they do
not cause the videobuf2 code to be built-in.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-02-02 11:09:02 -02:00
..
ccdc_hw_device.h
dm355_ccdc_regs.h [media] davinci: more gama -> gamma typo fixes 2013-03-19 16:16:23 -03:00
dm355_ccdc.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
dm644x_ccdc_regs.h [media] davinci/dm644x_ccdc: fix compiler warning 2013-03-19 16:16:04 -03:00
dm644x_ccdc.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
isif_regs.h [media] davinci: more gama -> gamma typo fixes 2013-03-19 16:16:23 -03:00
isif.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
Kconfig [media] davinci: add V4L2 dependencies 2015-02-02 11:09:02 -02:00
Makefile [media] media: davinci: kconfig: fix incorrect selects 2013-04-14 20:06:36 -03:00
vpbe_display.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
vpbe_osd_regs.h
vpbe_osd.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
vpbe_venc_regs.h
vpbe_venc.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
vpbe.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
vpfe_capture.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
vpif_capture.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
vpif_capture.h [media] media: davinci: vpif_capture: drop unneeded module params 2014-06-17 12:04:44 -03:00
vpif_display.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
vpif_display.h [media] media: davinci; vpif_display: fix checkpatch error 2014-05-23 19:16:56 -03:00
vpif.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
vpif.h [media] davinci: vpif: Fix module build for capture and display 2013-03-23 10:38:10 -03:00
vpss.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00