summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828-i2c.c')
-rw-r--r--linux/drivers/media/video/au0828/au0828-i2c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-i2c.c b/linux/drivers/media/video/au0828/au0828-i2c.c
index 03b797b9b..d8cef6ccc 100644
--- a/linux/drivers/media/video/au0828/au0828-i2c.c
+++ b/linux/drivers/media/video/au0828/au0828-i2c.c
@@ -301,6 +301,9 @@ static u32 au0828_functionality(struct i2c_adapter *adap)
static struct i2c_algorithm au0828_i2c_algo_template = {
.master_xfer = i2c_xfer,
.functionality = au0828_functionality,
+#ifdef NEED_ALGO_CONTROL
+ .algo_control = dummy_algo_control,
+#endif
};
/* ----------------------------------------------------------------------- */