summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/usbvision/usbvision-i2c.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-01-17 17:09:11 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-01-17 17:09:11 +0100
commit4d16d13d22862fd3a698ca766f03362ec6bd56ff (patch)
tree7d894c6b3857cf5386ef5beed85125f0e5804323 /linux/drivers/media/video/usbvision/usbvision-i2c.c
parentebbb343f2622dae4d4f0539ce9cd29f45e6862fe (diff)
downloadmediapointer-dvb-s2-4d16d13d22862fd3a698ca766f03362ec6bd56ff.tar.gz
mediapointer-dvb-s2-4d16d13d22862fd3a698ca766f03362ec6bd56ff.tar.bz2
v4l-dvb: fix a bunch of compile warnings.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/usbvision/usbvision-i2c.c')
-rw-r--r--linux/drivers/media/video/usbvision/usbvision-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision-i2c.c b/linux/drivers/media/video/usbvision/usbvision-i2c.c
index 58f65e03a..1d37e6206 100644
--- a/linux/drivers/media/video/usbvision/usbvision-i2c.c
+++ b/linux/drivers/media/video/usbvision/usbvision-i2c.c
@@ -158,7 +158,7 @@ usbvision_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msgs[], int num)
struct i2c_msg *pmsg;
struct usb_usbvision *usbvision;
int i, ret;
- unsigned char addr;
+ unsigned char addr = 0;
usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap);