summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zoran_device.c
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2008-01-27 13:10:44 -0200
committerDouglas Schilling Landgraf <dougsland@gmail.com>2008-01-27 13:10:44 -0200
commit56ab5d5a038d60cd901d04a60c56f4a9e0631c00 (patch)
treed112fab93a2e3f7b87d8a68573f041272263bf3e /linux/drivers/media/video/zoran_device.c
parentff1fe4613740e792a39664c6fc8d05876dfef864 (diff)
downloadmediapointer-dvb-s2-56ab5d5a038d60cd901d04a60c56f4a9e0631c00.tar.gz
mediapointer-dvb-s2-56ab5d5a038d60cd901d04a60c56f4a9e0631c00.tar.bz2
[PATCH] static memory
From: Douglas Schilling Landgraf <dougsland@gmail.com> - Static memory is always initialized with 0. - Replaced in some cases C99 comments for /* */ Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/zoran_device.c')
-rw-r--r--linux/drivers/media/video/zoran_device.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/drivers/media/video/zoran_device.c b/linux/drivers/media/video/zoran_device.c
index f7f8e78ec..b7f62ee8a 100644
--- a/linux/drivers/media/video/zoran_device.c
+++ b/linux/drivers/media/video/zoran_device.c
@@ -61,7 +61,8 @@
extern const struct zoran_format zoran_formats[];
-static int lml33dpath = 0; /* 1 will use digital path in capture
+static int lml33dpath; /* default = 0
+ * 1 will use digital path in capture
* mode instead of analog. It can be
* used for picture adjustments using
* tool like xawtv while watching image
@@ -988,7 +989,7 @@ void
zr36057_enable_jpg (struct zoran *zr,
enum zoran_codec_mode mode)
{
- static int zero = 0;
+ static int zero;
static int one = 1;
struct vfe_settings cap;
int field_size =