summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-01-29 10:23:18 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:42:35 +0200
commitd9ddd3b01043269a9a8803b6b8b8b472e054733c (patch)
tree961b38022bb992bb60083e81d09d3036a81a5d01 /drivers/media/video
parentV4L/DVB (10405): saa7134-core: loading saa7134-alsa is now the default (diff)
downloadlinux-d9ddd3b01043269a9a8803b6b8b8b472e054733c.tar.xz
linux-d9ddd3b01043269a9a8803b6b8b8b472e054733c.zip
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')
-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[] =