summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dtv5100.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dtv5100.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dtv5100.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dtv5100.c b/linux/drivers/media/dvb/dvb-usb/dtv5100.c
index 078ce92ca..e07a805f6 100644
--- a/linux/drivers/media/dvb/dvb-usb/dtv5100.c
+++ b/linux/drivers/media/dvb/dvb-usb/dtv5100.c
@@ -104,6 +104,9 @@ static u32 dtv5100_i2c_func(struct i2c_adapter *adapter)
static struct i2c_algorithm dtv5100_i2c_algo = {
.master_xfer = dtv5100_i2c_xfer,
.functionality = dtv5100_i2c_func,
+#ifdef NEED_ALGO_CONTROL
+ .algo_control = dummy_algo_control,
+#endif
};
/* Callbacks for DVB USB */