summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/or51211.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/or51211.h')
-rw-r--r--drivers/media/dvb-frontends/or51211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/or51211.h b/drivers/media/dvb-frontends/or51211.h
index 3ce0508b898e..9a8ae936b62d 100644
--- a/drivers/media/dvb-frontends/or51211.h
+++ b/drivers/media/dvb-frontends/or51211.h
@@ -37,7 +37,7 @@ struct or51211_config
void (*sleep)(struct dvb_frontend * fe);
};
-#if defined(CONFIG_DVB_OR51211) || (defined(CONFIG_DVB_OR51211_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_OR51211)
extern struct dvb_frontend* or51211_attach(const struct or51211_config* config,
struct i2c_adapter* i2c);
#else