summaryrefslogtreecommitdiffstats
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 10a5419f9e0..8aad8402d61 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)
+#if defined(CONFIG_DVB_OR51211) || (defined(CONFIG_DVB_OR51211_MODULE) && defined(MODULE))
extern struct dvb_frontend* or51211_attach(const struct or51211_config* config,
struct i2c_adapter* i2c);
#else