[media] use IS_ENABLED() macro
[firefly-linux-kernel-4.4.55.git] / drivers / media / dvb-frontends / zl10353.h
index 6e3ca9eed0484d3eb9fdcfef9cee080a215a821c..50c1004aef366ef1f3080c8c9fadb267109fe074 100644 (file)
@@ -47,7 +47,7 @@ struct zl10353_config
        u8 pll_0;        /* default: 0x15 */
 };
 
-#if defined(CONFIG_DVB_ZL10353) || (defined(CONFIG_DVB_ZL10353_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_ZL10353)
 extern struct dvb_frontend* zl10353_attach(const struct zl10353_config *config,
                                           struct i2c_adapter *i2c);
 #else