aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/v4l2-core/v4l2-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/v4l2-core/v4l2-common.c b/drivers/media/v4l2-core/v4l2-common.c
index 614316f9b7a4..aa044f491666 100644
--- a/drivers/media/v4l2-core/v4l2-common.c
+++ b/drivers/media/v4l2-core/v4l2-common.c
@@ -238,7 +238,7 @@ int v4l2_chip_match_host(const struct v4l2_dbg_match *match)
238} 238}
239EXPORT_SYMBOL(v4l2_chip_match_host); 239EXPORT_SYMBOL(v4l2_chip_match_host);
240 240
241#if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE)) 241#if IS_ENABLED(CONFIG_I2C)
242int v4l2_chip_match_i2c_client(struct i2c_client *c, const struct v4l2_dbg_match *match) 242int v4l2_chip_match_i2c_client(struct i2c_client *c, const struct v4l2_dbg_match *match)
243{ 243{
244 int len; 244 int len;
@@ -384,7 +384,7 @@ EXPORT_SYMBOL_GPL(v4l2_i2c_subdev_addr);
384const unsigned short *v4l2_i2c_tuner_addrs(enum v4l2_i2c_tuner_type type) 384const unsigned short *v4l2_i2c_tuner_addrs(enum v4l2_i2c_tuner_type type)
385{ 385{
386 static const unsigned short radio_addrs[] = { 386 static const unsigned short radio_addrs[] = {
387#if defined(CONFIG_MEDIA_TUNER_TEA5761) || defined(CONFIG_MEDIA_TUNER_TEA5761_MODULE) 387#if IS_ENABLED(CONFIG_MEDIA_TUNER_TEA5761)
388 0x10, 388 0x10,
389#endif 389#endif
390 0x60, 390 0x60,