[media] use IS_ENABLED() macro
[deliverable/linux.git] / drivers / media / dvb-frontends / or51211.h
index 3ce0508b898e102b1cf13ee8e18915e2b783b515..9a8ae936b62dee36d0074911b565f2c396041fba 100644 (file)
@@ -37,7 +37,7 @@ struct or51211_config
        void (*sleep)(struct dvb_frontend * fe);
 };
 
-#if defined(CONFIG_DVB_OR51211) || (defined(CONFIG_DVB_OR51211_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_OR51211)
 extern struct dvb_frontend* or51211_attach(const struct or51211_config* config,
                                           struct i2c_adapter* i2c);
 #else
This page took 0.027897 seconds and 5 git commands to generate.