summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/ves1x93.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/ves1x93.h')
-rw-r--r--drivers/media/dvb-frontends/ves1x93.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/ves1x93.h b/drivers/media/dvb-frontends/ves1x93.h
index 8a5a49e808f6..2307caea6aec 100644
--- a/drivers/media/dvb-frontends/ves1x93.h
+++ b/drivers/media/dvb-frontends/ves1x93.h
@@ -40,7 +40,7 @@ struct ves1x93_config
u8 invert_pwm:1;
};
-#if defined(CONFIG_DVB_VES1X93) || (defined(CONFIG_DVB_VES1X93_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_VES1X93)
extern struct dvb_frontend* ves1x93_attach(const struct ves1x93_config* config,
struct i2c_adapter* i2c);
#else