Merge remote-tracking branch 'lsk/v3.10/topic/mailbox' into linux-linaro-lsk
[firefly-linux-kernel-4.4.55.git] / drivers / media / dvb-frontends / lgs8gxx.h
index 33c3c5e162fa6b4e2b79fbc87406293b61e38f1e..dadb78bf61a9782bc6f322dd20b7985402e07826 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef __LGS8GXX_H__
 #define __LGS8GXX_H__
 
+#include <linux/kconfig.h>
 #include <linux/dvb/frontend.h>
 #include <linux/i2c.h>
 
@@ -79,8 +80,7 @@ struct lgs8gxx_config {
        u8 tuner_address;
 };
 
-#if defined(CONFIG_DVB_LGS8GXX) || \
-       (defined(CONFIG_DVB_LGS8GXX_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_LGS8GXX)
 extern struct dvb_frontend *lgs8gxx_attach(const struct lgs8gxx_config *config,
                                           struct i2c_adapter *i2c);
 #else