summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/t613.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-01-29 09:23:18 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 15:42:35 (GMT)
commitd9ddd3b01043269a9a8803b6b8b8b472e054733c (patch)
tree961b38022bb992bb60083e81d09d3036a81a5d01 /drivers/media/video/gspca/t613.c
parent23ce51d9751f716953c83fd2355c0b584bdc679a (diff)
downloadlinux-d9ddd3b01043269a9a8803b6b8b8b472e054733c.tar.xz
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/t613.c')
-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 49db21e..0a1f4ef 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[] =