summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/mt2131.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/mt2131.h')
-rw-r--r--drivers/media/dvb/frontends/mt2131.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/mt2131.h b/drivers/media/dvb/frontends/mt2131.h
index 608f1f66c9e7..1e4ffe7dc8c8 100644
--- a/drivers/media/dvb/frontends/mt2131.h
+++ b/drivers/media/dvb/frontends/mt2131.h
@@ -30,7 +30,7 @@ struct mt2131_config {
u8 clock_out; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */
};
-#if defined(CONFIG_DVB_TUNER_MT2131) || defined(CONFIG_DVB_TUNER_MT2131_MODULE)
+#if defined(CONFIG_DVB_TUNER_MT2131) || (defined(CONFIG_DVB_TUNER_MT2131_MODULE) && defined(MODULE))
extern struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c,
struct mt2131_config *cfg,