summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/ves1820.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/ves1820.h')
-rw-r--r--drivers/media/dvb-frontends/ves1820.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/ves1820.h b/drivers/media/dvb-frontends/ves1820.h
index e902ed634ec3..c073f353ac38 100644
--- a/drivers/media/dvb-frontends/ves1820.h
+++ b/drivers/media/dvb-frontends/ves1820.h
@@ -41,7 +41,7 @@ struct ves1820_config
u8 selagc:1;
};
-#if defined(CONFIG_DVB_VES1820) || (defined(CONFIG_DVB_VES1820_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_VES1820)
extern struct dvb_frontend* ves1820_attach(const struct ves1820_config* config,
struct i2c_adapter* i2c, u8 pwm);
#else
OpenPOWER on IntegriCloud