]> Pileus Git - ~andy/linux/blobdiff - drivers/media/tuners/mxl5005s.h
Merge tag 'for-v3.10' of git://git.infradead.org/users/cbou/linux-pstore
[~andy/linux] / drivers / media / tuners / mxl5005s.h
index fc8a1ffc53b4c7d3319d7223472db97f4417a1d2..ae8db885ad87a1cfb22603910bc2bc04e360717f 100644 (file)
@@ -23,6 +23,8 @@
 #ifndef __MXL5005S_H
 #define __MXL5005S_H
 
+#include <linux/kconfig.h>
+
 #include <linux/i2c.h>
 #include "dvb_frontend.h"
 
@@ -116,8 +118,7 @@ struct mxl5005s_config {
        u8 AgcMasterByte;
 };
 
-#if defined(CONFIG_MEDIA_TUNER_MXL5005S) || \
-       (defined(CONFIG_MEDIA_TUNER_MXL5005S_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_MEDIA_TUNER_MXL5005S)
 extern struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe,
                                            struct i2c_adapter *i2c,
                                            struct mxl5005s_config *config);