V4L/DVB (6081): ivtv: Fix static structure initialization
commitaeb292d1342c649ac0b35ae9205b761fd14adb57
authorJean Delvare <khali@linux-fr.org>
Thu, 23 Aug 2007 18:45:41 +0000 (23 15:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:06:24 +0000 (9 22:06 -0300)
tree7339ecba075a7e82bda7420194a15f99004bb5e8
parent9c12224a607a4b22ab86784e3394b52810b9507c
V4L/DVB (6081): ivtv: Fix static structure initialization

Convert the initialization of ivtv_i2c_algo_template to C99-style.
Otherwise a future change to struct i2c_algo_bit_data would break
this code.

Also declared that structure const - it's a template after all.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-i2c.c