summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/stv0299.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/stv0299.h')
-rw-r--r--drivers/media/dvb-frontends/stv0299.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/stv0299.h b/drivers/media/dvb-frontends/stv0299.h
index ba219b7..06f70fc8 100644
--- a/drivers/media/dvb-frontends/stv0299.h
+++ b/drivers/media/dvb-frontends/stv0299.h
@@ -95,7 +95,7 @@ struct stv0299_config
int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured);
};
-#if defined(CONFIG_DVB_STV0299) || (defined(CONFIG_DVB_STV0299_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_STV0299)
extern struct dvb_frontend *stv0299_attach(const struct stv0299_config *config,
struct i2c_adapter *i2c);
#else
OpenPOWER on IntegriCloud