]> Pileus Git - ~andy/linux/blobdiff - drivers/media/tuners/mc44s803.h
Merge branch 'for-3.10' of git://linux-nfs.org/~bfields/linux
[~andy/linux] / drivers / media / tuners / mc44s803.h
index 34f3892d3f6d2be5f4ac7add8361066480c803a2..9aae50aca2b7c502853a7a4ce5c1d610f4578b50 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef MC44S803_H
 #define MC44S803_H
 
+#include <linux/kconfig.h>
+
 struct dvb_frontend;
 struct i2c_adapter;
 
@@ -30,8 +32,7 @@ struct mc44s803_config {
        u8 dig_out;
 };
 
-#if defined(CONFIG_MEDIA_TUNER_MC44S803) || \
-    (defined(CONFIG_MEDIA_TUNER_MC44S803_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_MEDIA_TUNER_MC44S803)
 extern struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe,
         struct i2c_adapter *i2c, struct mc44s803_config *cfg);
 #else