summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda8083.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/tda8083.h')
-rw-r--r--drivers/media/dvb/frontends/tda8083.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda8083.h b/drivers/media/dvb/frontends/tda8083.h
index aae15bdce6e..2d3307999f2 100644
--- a/drivers/media/dvb/frontends/tda8083.h
+++ b/drivers/media/dvb/frontends/tda8083.h
@@ -35,7 +35,7 @@ struct tda8083_config
u8 demod_address;
};
-#if defined(CONFIG_DVB_TDA8083) || defined(CONFIG_DVB_TDA8083_MODULE)
+#if defined(CONFIG_DVB_TDA8083) || (defined(CONFIG_DVB_TDA8083_MODULE) && defined(MODULE))
extern struct dvb_frontend* tda8083_attach(const struct tda8083_config* config,
struct i2c_adapter* i2c);
#else