summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/dvb-pll.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/dvb-pll.h')
-rw-r--r--drivers/media/dvb-frontends/dvb-pll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/dvb-pll.h b/drivers/media/dvb-frontends/dvb-pll.h
index 4de754f76ce9..f4b5a0601c3a 100644
--- a/drivers/media/dvb-frontends/dvb-pll.h
+++ b/drivers/media/dvb-frontends/dvb-pll.h
@@ -38,7 +38,7 @@
* @param pll_desc_id dvb_pll_desc to use.
* @return Frontend pointer on success, NULL on failure
*/
-#if defined(CONFIG_DVB_PLL) || (defined(CONFIG_DVB_PLL_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_PLL)
extern struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe,
int pll_addr,
struct i2c_adapter *i2c,