aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/tda1004x.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/tda1004x.h')
-rw-r--r--drivers/media/dvb-frontends/tda1004x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/tda1004x.h b/drivers/media/dvb-frontends/tda1004x.h
index 4e27ffb0f14e..dd283fbb61c0 100644
--- a/drivers/media/dvb-frontends/tda1004x.h
+++ b/drivers/media/dvb-frontends/tda1004x.h
@@ -117,7 +117,7 @@ struct tda1004x_state {
117 enum tda1004x_demod demod_type; 117 enum tda1004x_demod demod_type;
118}; 118};
119 119
120#if defined(CONFIG_DVB_TDA1004X) || (defined(CONFIG_DVB_TDA1004X_MODULE) && defined(MODULE)) 120#if IS_ENABLED(CONFIG_DVB_TDA1004X)
121extern struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config, 121extern struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config,
122 struct i2c_adapter* i2c); 122 struct i2c_adapter* i2c);
123 123