aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/dvb-core
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-07 04:11:50 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-07 04:11:50 -0500
commit1980bfa67f19d628df30b9b5b76bca37c2a76dde (patch)
tree3154448bbed7e6d8e0dc601553907bb6d11c36b3 /drivers/media/dvb-core
parentmedia: cx23885: Override 888 ImpactVCBe crystal frequency (diff)
downloadwireguard-linux-1980bfa67f19d628df30b9b5b76bca37c2a76dde.tar.xz
wireguard-linux-1980bfa67f19d628df30b9b5b76bca37c2a76dde.zip
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>
Diffstat (limited to 'drivers/media/dvb-core')
-rw-r--r--drivers/media/dvb-core/dvbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-core/dvbdev.c b/drivers/media/dvb-core/dvbdev.c
index a840133feacb..cf747d753a79 100644
--- a/drivers/media/dvb-core/dvbdev.c
+++ b/drivers/media/dvb-core/dvbdev.c
@@ -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,