aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/tda1002x.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/tda1002x.h')
-rw-r--r--drivers/media/dvb-frontends/tda1002x.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/tda1002x.h b/drivers/media/dvb-frontends/tda1002x.h
index 04d19418bf20..e404b6e44802 100644
--- a/drivers/media/dvb-frontends/tda1002x.h
+++ b/drivers/media/dvb-frontends/tda1002x.h
@@ -57,7 +57,7 @@ struct tda10023_config {
57 u16 deltaf; 57 u16 deltaf;
58}; 58};
59 59
60#if defined(CONFIG_DVB_TDA10021) || (defined(CONFIG_DVB_TDA10021_MODULE) && defined(MODULE)) 60#if IS_ENABLED(CONFIG_DVB_TDA10021)
61extern struct dvb_frontend* tda10021_attach(const struct tda1002x_config* config, 61extern struct dvb_frontend* tda10021_attach(const struct tda1002x_config* config,
62 struct i2c_adapter* i2c, u8 pwm); 62 struct i2c_adapter* i2c, u8 pwm);
63#else 63#else
@@ -69,8 +69,7 @@ static inline struct dvb_frontend* tda10021_attach(const struct tda1002x_config*
69} 69}
70#endif // CONFIG_DVB_TDA10021 70#endif // CONFIG_DVB_TDA10021
71 71
72#if defined(CONFIG_DVB_TDA10023) || \ 72#if IS_ENABLED(CONFIG_DVB_TDA10023)
73 (defined(CONFIG_DVB_TDA10023_MODULE) && defined(MODULE))
74extern struct dvb_frontend *tda10023_attach( 73extern struct dvb_frontend *tda10023_attach(
75 const struct tda10023_config *config, 74 const struct tda10023_config *config,
76 struct i2c_adapter *i2c, u8 pwm); 75 struct i2c_adapter *i2c, u8 pwm);