]> Pileus Git - ~andy/linux/blobdiff - drivers/media/dvb-frontends/tda665x.h
[media] use IS_ENABLED() macro
[~andy/linux] / drivers / media / dvb-frontends / tda665x.h
index ec7927aa75ae4c642b06623289dff27751db8c03..03a0da6d5cf2181298866f13fe2462c2f9cd44e8 100644 (file)
@@ -31,7 +31,7 @@ struct tda665x_config {
        u32     ref_divider;
 };
 
-#if defined(CONFIG_DVB_TDA665x) || (defined(CONFIG_DVB_TDA665x_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_TDA665x)
 
 extern struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe,
                                           const struct tda665x_config *config,