summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/l64781.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/l64781.h')
-rw-r--r--drivers/media/dvb-frontends/l64781.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/l64781.h b/drivers/media/dvb-frontends/l64781.h
index 1305a9e7fb0b..6813b08a774d 100644
--- a/drivers/media/dvb-frontends/l64781.h
+++ b/drivers/media/dvb-frontends/l64781.h
@@ -31,7 +31,7 @@ struct l64781_config
u8 demod_address;
};
-#if defined(CONFIG_DVB_L64781) || (defined(CONFIG_DVB_L64781_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_L64781)
extern struct dvb_frontend* l64781_attach(const struct l64781_config* config,
struct i2c_adapter* i2c);
#else