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>
This commit is contained in:
Mauro Carvalho Chehab
2018-03-07 04:11:50 -05:00
والد 779c79d4b8
کامیت 1980bfa67f
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده

مشاهده پرونده

@@ -942,7 +942,7 @@ out:
return err;
}
#ifdef CONFIG_I2C
#if IS_ENABLED(CONFIG_I2C)
struct i2c_client *dvb_module_probe(const char *module_name,
const char *name,
struct i2c_adapter *adap,