]> err.no Git - linux-2.6/blobdiff - drivers/media/dvb/dvb-usb/dibusb-common.c
V4L/DVB (8451): dw2102: fix in-kernel compilation
[linux-2.6] / drivers / media / dvb / dvb-usb / dibusb-common.c
index 9a184da01c47385ae4772c3a2ce45774b4b7a807..8ee6cd4da9e7c1053099792ef5ec0700bbd29ccf 100644 (file)
@@ -223,6 +223,9 @@ static struct dibx000_agc_config dib3000p_panasonic_agc_config = {
        .agc2_slope2 = 0x1e,
 };
 
+#if defined(CONFIG_DVB_DIB3000MC) ||                                   \
+       (defined(CONFIG_DVB_DIB3000MC_MODULE) && defined(MODULE))
+
 static struct dib3000mc_config mod3000p_dib3000p_config = {
        &dib3000p_panasonic_agc_config,
 
@@ -305,6 +308,7 @@ int dibusb_dib3000mc_tuner_attach(struct dvb_usb_adapter *adap)
        return 0;
 }
 EXPORT_SYMBOL(dibusb_dib3000mc_tuner_attach);
+#endif
 
 /*
  * common remote control stuff