diff options
author | Arnd Bergmann <[email protected]> | 2018-05-30 18:07:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2018-06-28 06:48:21 -0400 |
commit | 7fc77a2fdaa985393d84b8967db2c27664ec384b (patch) | |
tree | 8f2eb0d100cfaffe9f325dbb4ba5eaf08da555b5 /tools/perf/util/trace-event-scripting.c | |
parent | 5a0996af33879c027725daa58becdf172e0f166d (diff) |
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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions