summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-01-29 06:23:18 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:42:35 -0300
commitd9ddd3b01043269a9a8803b6b8b8b472e054733c (patch)
tree961b38022bb992bb60083e81d09d3036a81a5d01 /drivers/media/video/gspca
parent23ce51d9751f716953c83fd2355c0b584bdc679a (diff)
V4L/DVB (10406): gspca: fix compiler warning
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c
index 49db21e1376c..0a1f4efdc6ed 100644
--- a/drivers/media/video/gspca/t613.c
+++ b/drivers/media/video/gspca/t613.c
@@ -635,7 +635,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
struct sd *sd = (struct sd *) gspca_dev;
int i;
u16 sensor_id;
- u8 test_byte;
+ u8 test_byte = 0;
u16 reg80, reg8e;
static const u8 read_indexs[] =