summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/w9968cf.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/w9968cf.c')
-rw-r--r--linux/drivers/media/video/w9968cf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/w9968cf.c b/linux/drivers/media/video/w9968cf.c
index ab3c054c4..5763a4234 100644
--- a/linux/drivers/media/video/w9968cf.c
+++ b/linux/drivers/media/video/w9968cf.c
@@ -1557,6 +1557,9 @@ static int w9968cf_i2c_init(struct w9968cf_device* cam)
static struct i2c_algorithm algo = {
.smbus_xfer = w9968cf_i2c_smbus_xfer,
.functionality = w9968cf_i2c_func,
+#ifdef NEED_ALGO_CONTROL
+ .algo_control = dummy_algo_control,
+#endif
};
static struct i2c_adapter adap = {