summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/cxusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/cxusb.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/cxusb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/cxusb.c b/linux/drivers/media/dvb/dvb-usb/cxusb.c
index 406d7fba3..f467cad8a 100644
--- a/linux/drivers/media/dvb/dvb-usb/cxusb.c
+++ b/linux/drivers/media/dvb/dvb-usb/cxusb.c
@@ -213,6 +213,9 @@ static u32 cxusb_i2c_func(struct i2c_adapter *adapter)
static struct i2c_algorithm cxusb_i2c_algo = {
.master_xfer = cxusb_i2c_xfer,
.functionality = cxusb_i2c_func,
+#ifdef NEED_ALGO_CONTROL
+ .algo_control = dummy_algo_control,
+#endif
};
static int cxusb_power_ctrl(struct dvb_usb_device *d, int onoff)