]> git.baikalelectronics.ru Git - kernel.git/commit
media: dvbdev: fix building on ia64
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Mar 2018 09:11:50 +0000 (04:11 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Mar 2018 09:11:50 +0000 (04:11 -0500)
commit4ca835585c75d8507d073f57bc2f985ed661c234
tree3154448bbed7e6d8e0dc601553907bb6d11c36b3
parent434c372aa0e6b18e36e04ca225d833fba391fe25
media: dvbdev: fix building on ia64

Not sure why, but, on ia64, with Linaro's gcc 7.3 compiler,
using #ifdef (CONFIG_I2C) is not OK.

So, replace it by IS_ENABLED(CONFIG_I2C), in order to fix the
builds there.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dvbdev.c
include/media/dvbdev.h