[media] use IS_ENABLED() macro
[deliverable/linux.git] / drivers / media / tuners / mt2266.h
index 4d083882d044a6a6dcd96bb115651c7ad956ba50..fad6dd657d77016e27425264d6edd2fe0e26da5d 100644 (file)
@@ -24,7 +24,7 @@ struct mt2266_config {
        u8 i2c_address;
 };
 
-#if defined(CONFIG_MEDIA_TUNER_MT2266) || (defined(CONFIG_MEDIA_TUNER_MT2266_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_MEDIA_TUNER_MT2266)
 extern struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg);
 #else
 static inline struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg)
This page took 0.024278 seconds and 5 git commands to generate.