aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tda9875.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-01-17 13:09:11 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-29 08:38:04 -0200
commitcf8e193a48879a02f55b53c0cf2ec98a784baaa5 (patch)
tree291f8ce4ea0d37db2796a3e27989296fd5bbe26d /drivers/media/video/tda9875.c
parentV4L/DVB (10243): em28xx: fix compile warning (diff)
downloadlinux-dev-cf8e193a48879a02f55b53c0cf2ec98a784baaa5.tar.xz
linux-dev-cf8e193a48879a02f55b53c0cf2ec98a784baaa5.zip
V4L/DVB (10248): v4l-dvb: fix a bunch of compile warnings.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tda9875.c')
-rw-r--r--drivers/media/video/tda9875.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tda9875.c b/drivers/media/video/tda9875.c
index 56f0c0eb500f..00c6cbe06ab0 100644
--- a/drivers/media/video/tda9875.c
+++ b/drivers/media/video/tda9875.c
@@ -242,7 +242,7 @@ static int tda9875_g_ctrl(struct v4l2_subdev *sd, struct v4l2_control *ctrl)
static int tda9875_s_ctrl(struct v4l2_subdev *sd, struct v4l2_control *ctrl)
{
struct tda9875 *t = to_state(sd);
- int chvol=0, volume, balance, left, right;
+ int chvol = 0, volume = 0, balance = 0, left, right;
switch (ctrl->id) {
case V4L2_CID_AUDIO_VOLUME: