summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/opera1.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/opera1.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/opera1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/opera1.c b/linux/drivers/media/dvb/dvb-usb/opera1.c
index cba064615..d45ceb83b 100644
--- a/linux/drivers/media/dvb/dvb-usb/opera1.c
+++ b/linux/drivers/media/dvb/dvb-usb/opera1.c
@@ -167,6 +167,9 @@ static u32 opera1_i2c_func(struct i2c_adapter *adapter)
static struct i2c_algorithm opera1_i2c_algo = {
.master_xfer = opera1_i2c_xfer,
.functionality = opera1_i2c_func,
+#ifdef NEED_ALGO_CONTROL
+ .algo_control = dummy_algo_control,
+#endif
};
static int opera1_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)