diff options
-rw-r--r-- | linux/drivers/media/video/tcm825x.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tcm825x.c b/linux/drivers/media/video/tcm825x.c index 08c7888e5..2f823f27a 100644 --- a/linux/drivers/media/video/tcm825x.c +++ b/linux/drivers/media/video/tcm825x.c @@ -846,8 +846,12 @@ static struct v4l2_int_device tcm825x_int_device = { }, }; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26) +static int tcm825x_probe(struct i2c_client *client) +#else static int tcm825x_probe(struct i2c_client *client, const struct i2c_device_id *did) +#endif { struct tcm825x_sensor *sensor = &tcm825x; int rval; |