diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2017-06-08 21:37:44 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-08 22:52:28 +0300 |
commit | f9f314f323951a33d8b4a4f63f7d04b7f3bc0603 (patch) | |
tree | 54691ad3544ff621a1cd8173a55fc91890e0d8e8 /include/media/v4l2-dev.h | |
parent | b94aac64a4c17c5af92f9b4ba7164c5b384d5c02 (diff) | |
download | linux-f9f314f323951a33d8b4a4f63f7d04b7f3bc0603.tar.xz |
[media] media/cec.h: use IS_REACHABLE instead of IS_ENABLED
Fix messages like this:
adv7842.c:(.text+0x2edadd): undefined reference to `cec_unregister_adapter'
when CEC_CORE=m but the driver including media/cec.h is built-in. In that case
the static inlines provided in media/cec.h should be used by that driver.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/v4l2-dev.h')
0 files changed, 0 insertions, 0 deletions