summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/tuner-simple.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners/tuner-simple.h')
-rw-r--r--drivers/media/tuners/tuner-simple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/tuner-simple.h b/drivers/media/tuners/tuner-simple.h
index 381fa5d..ffd12cf 100644
--- a/drivers/media/tuners/tuner-simple.h
+++ b/drivers/media/tuners/tuner-simple.h
@@ -20,7 +20,7 @@
#include <linux/i2c.h>
#include "dvb_frontend.h"
-#if defined(CONFIG_MEDIA_TUNER_SIMPLE) || (defined(CONFIG_MEDIA_TUNER_SIMPLE_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_MEDIA_TUNER_SIMPLE)
extern struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c_adap,
u8 i2c_addr,
OpenPOWER on IntegriCloud