]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/dvb/frontends/tda826x.h
V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel
[linux-2.6-omap-h63xx.git] / drivers / media / dvb / frontends / tda826x.h
index 83998c001196659deb242cf3161a76e77022bef0..ad998119596183264e0ef9b06907e377a73dff3e 100644 (file)
@@ -35,7 +35,7 @@
  * @param has_loopthrough Set to 1 if the card has a loopthrough RF connector.
  * @return FE pointer on success, NULL on failure.
  */
-#if defined(CONFIG_DVB_TDA826X) || defined(CONFIG_DVB_TDA826X_MODULE)
+#if defined(CONFIG_DVB_TDA826X) || (defined(CONFIG_DVB_TDA826X_MODULE) && defined(MODULE))
 extern struct dvb_frontend* tda826x_attach(struct dvb_frontend *fe, int addr,
                                           struct i2c_adapter *i2c,
                                           int has_loopthrough);