summaryrefslogtreecommitdiffstats
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 21ba4a230760..cd15f76ff28d 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)
+#if defined(CONFIG_DVB_L64781) || (defined(CONFIG_DVB_L64781_MODULE) && defined(MODULE))
extern struct dvb_frontend* l64781_attach(const struct l64781_config* config,
struct i2c_adapter* i2c);
#else