summaryrefslogtreecommitdiff
path: root/drivers/media/cec/cec-api.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2017-06-08 15:37:44 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-08 16:52:28 -0300
commitf9f314f323951a33d8b4a4f63f7d04b7f3bc0603 (patch)
tree54691ad3544ff621a1cd8173a55fc91890e0d8e8 /drivers/media/cec/cec-api.c
parentb94aac64a4c17c5af92f9b4ba7164c5b384d5c02 (diff)
[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 'drivers/media/cec/cec-api.c')
0 files changed, 0 insertions, 0 deletions