linux/drivers/media/platform/omap
Arnd Bergmann 7fc77a2fda media: v4l: omap: add VIDEO_V4L2 dependency
The omap media driver can be built-in while the v4l2 core is a loadable
module. This is a mistake and leads to link errors:

drivers/media/platform/omap/omap_vout.o: In function `omap_vout_remove':
omap_vout.c:(.text+0xec): undefined reference to `v4l2_device_unregister'
omap_vout.c:(.text+0x140): undefined reference to `video_device_release'
omap_vout.c:(.text+0x150): undefined reference to `video_unregister_device'
omap_vout.c:(.text+0x15c): undefined reference to `v4l2_ctrl_handler_free'

An explicit Kconfig dependency on VIDEO_V4L2 avoids the problem.
I ran into this problem for the first time today during my randconfig
builds, but could not find what caused it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-06-28 06:48:21 -04:00
..
Kconfig media: v4l: omap: add VIDEO_V4L2 dependency 2018-06-28 06:48:21 -04:00
Makefile
omap_vout_vrfb.c media: platform: fix some 64-bits warnings 2018-04-17 05:50:00 -04:00
omap_vout_vrfb.h [media] media: omap/omap_vout: fix type of input members to omap_vout_setup_vrfb_bufs() 2015-03-03 11:22:58 -03:00
omap_vout.c media: platform: fix some 64-bits warnings 2018-04-17 05:50:00 -04:00
omap_voutdef.h media: v4l: omap_vout: vrfb: Convert to dmaengine 2017-06-24 16:00:25 -03:00
omap_voutlib.c [media] omap_vout: Switch to use the video/omapfb_dss.h header file 2016-06-03 16:06:39 +03:00
omap_voutlib.h