aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/b2c2/flexcop-fe-tuner.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/b2c2/flexcop-fe-tuner.c')
-rw-r--r--drivers/media/common/b2c2/flexcop-fe-tuner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/common/b2c2/flexcop-fe-tuner.c b/drivers/media/common/b2c2/flexcop-fe-tuner.c
index 9c59f4306883..f5956402fc69 100644
--- a/drivers/media/common/b2c2/flexcop-fe-tuner.c
+++ b/drivers/media/common/b2c2/flexcop-fe-tuner.c
@@ -38,7 +38,7 @@ static int flexcop_fe_request_firmware(struct dvb_frontend *fe,
38#endif 38#endif
39 39
40/* lnb control */ 40/* lnb control */
41#if FE_SUPPORTED(MT312) || FE_SUPPORTED(STV0299) 41#if (FE_SUPPORTED(MT312) || FE_SUPPORTED(STV0299)) && FE_SUPPORTED(PLL)
42static int flexcop_set_voltage(struct dvb_frontend *fe, 42static int flexcop_set_voltage(struct dvb_frontend *fe,
43 enum fe_sec_voltage voltage) 43 enum fe_sec_voltage voltage)
44{ 44{
@@ -68,7 +68,7 @@ static int flexcop_set_voltage(struct dvb_frontend *fe,
68#endif 68#endif
69 69
70#if FE_SUPPORTED(S5H1420) || FE_SUPPORTED(STV0299) || FE_SUPPORTED(MT312) 70#if FE_SUPPORTED(S5H1420) || FE_SUPPORTED(STV0299) || FE_SUPPORTED(MT312)
71static int flexcop_sleep(struct dvb_frontend* fe) 71static int __maybe_unused flexcop_sleep(struct dvb_frontend* fe)
72{ 72{
73 struct flexcop_device *fc = fe->dvb->priv; 73 struct flexcop_device *fc = fe->dvb->priv;
74 if (fc->fe_sleep) 74 if (fc->fe_sleep)