summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/sonixj.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-02-02 22:25:38 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 19:42:48 +0400
commit92e8c91bd2a0db4b129baf332344f564bdfca941 (patch)
tree46c50860b20fe6dd8c5392d20a28fcbcbbc8cd49 /drivers/media/video/gspca/sonixj.c
parent5899c75f0252552f3683e9bba2f2680ea69f76b3 (diff)
downloadlinux-92e8c91bd2a0db4b129baf332344f564bdfca941.tar.xz
V4L/DVB (10618): gspca - some drivers: Fix compilation warnings.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sonixj.c')
-rw-r--r--drivers/media/video/gspca/sonixj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index 970c74f9fe8b..882d5e9b436a 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -1023,7 +1023,7 @@ static void mi0360_probe(struct gspca_dev *gspca_dev)
{
struct sd *sd = (struct sd *) gspca_dev;
int i, j;
- u16 val;
+ u16 val = 0;
static const u8 probe_tb[][4][8] = {
{ /* mi0360 */
{0xb0, 0x5d, 0x07, 0x00, 0x02, 0x00, 0x00, 0x10},