summaryrefslogtreecommitdiffstats
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 4e27ffb0f14..dd283fbb61c 100644
--- a/drivers/media/dvb-frontends/tda1004x.h
+++ b/drivers/media/dvb-frontends/tda1004x.h
@@ -117,7 +117,7 @@ struct tda1004x_state {
enum tda1004x_demod demod_type;
};
-#if defined(CONFIG_DVB_TDA1004X) || (defined(CONFIG_DVB_TDA1004X_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_TDA1004X)
extern struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config,
struct i2c_adapter* i2c);