diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-03-10 11:21:32 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-22 12:24:44 +0300 |
commit | 7432376a3f57f2fd99e08437070c5f831315e5aa (patch) | |
tree | 67cafcc57bc878cd45270ba02ddf959da90b07b9 /drivers/media/i2c/ir-kbd-i2c.c | |
parent | f20596943a32d99d449384ea8cc3b3ce61e3d4ec (diff) | |
download | linux-7432376a3f57f2fd99e08437070c5f831315e5aa.tar.xz |
media: cec/core/cec-notifier: use IS_REACHABLE(CONFIG_I2C)
If CONFIG_I2C=m and CONFIG_CEC_CORE=y then of_find_i2c_device_by_node()
is not reachable. So use IS_REACHABLE instead of IS_ENABLED.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: a62943c145c1 ("media: cec-notifier: also search for HDMI devices on I2C")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/ir-kbd-i2c.c')
0 files changed, 0 insertions, 0 deletions