The patch number 8102 was added via Hans Verkuil <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Hans Verkuil  <[EMAIL PROTECTED]>
tcm825x: fix compile warning with kernels < 2.6.26.




Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>


---

 linux/drivers/media/video/tcm825x.c |    4 ++++
 1 file changed, 4 insertions(+)

diff -r 63dbae485b10 -r 0678ea1fc699 linux/drivers/media/video/tcm825x.c
--- a/linux/drivers/media/video/tcm825x.c       Sun Jun 22 13:40:17 2008 +0200
+++ b/linux/drivers/media/video/tcm825x.c       Sun Jun 22 13:45:12 2008 +0200
@@ -846,8 +846,12 @@ static struct v4l2_int_device tcm825x_in
        },
 };
 
+#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;


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/0678ea1fc699550c87eddc7b1f5f9c1897f58fbe

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to