]> err.no Git - linux-2.6/blobdiff - drivers/media/dvb/frontends/s5h1409.h
V4L/DVB (5976): mt2131 s5h1409: correct frontend selection logic
[linux-2.6] / drivers / media / dvb / frontends / s5h1409.h
index bccfd8a6fbd44e889826bdb94bbf1508a22674af..20f9af1af445c2f49304ab6979aa28e7c5eb7894 100644 (file)
@@ -53,7 +53,7 @@ struct s5h1409_config
        u8 status_mode;
 };
 
-#if defined(CONFIG_DVB_S5H1409) || defined(CONFIG_DVB_S5H1409_MODULE)
+#if defined(CONFIG_DVB_S5H1409) || (defined(CONFIG_DVB_S5H1409_MODULE) && defined(MODULE))
 extern struct dvb_frontend* s5h1409_attach(const struct s5h1409_config* config,
                                           struct i2c_adapter* i2c);
 #else