]> Pileus Git - ~andy/linux/blobdiff - drivers/media/tuners/xc5000.h
Merge branch 'for-3.10' of git://linux-nfs.org/~bfields/linux
[~andy/linux] / drivers / media / tuners / xc5000.h
index b1a5474946257f9afccd17d395dfd805b8155e08..7245cae19f0c1d0f8e1ee015879bad2587122b6a 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef __XC5000_H__
 #define __XC5000_H__
 
+#include <linux/kconfig.h>
 #include <linux/firmware.h>
 
 struct dvb_frontend;
@@ -56,8 +57,7 @@ struct xc5000_config {
  * it's passed back to a bridge during tuner_callback().
  */
 
-#if defined(CONFIG_MEDIA_TUNER_XC5000) || \
-    (defined(CONFIG_MEDIA_TUNER_XC5000_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_MEDIA_TUNER_XC5000)
 extern struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe,
                                          struct i2c_adapter *i2c,
                                          const struct xc5000_config *cfg);