summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bw-qcam.c
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2008-04-22 14:41:48 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:42:20 -0300
commitff699e6bd02eb1c6d02c7c2b576c2ee6caab201c (patch)
tree496169dda7f8f4dc471f76f715805eb92d621db3 /drivers/media/video/bw-qcam.c
parent29bec0bff50d8f8b108ed22e9981eb4635efc566 (diff)
downloadtalos-op-linux-ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c.tar.gz
talos-op-linux-ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c.zip
V4L/DVB (7094): static memory
- Static memory is always initialized with 0. - Replaced in some cases C99 comments for /* */ Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bw-qcam.c')
-rw-r--r--drivers/media/video/bw-qcam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/bw-qcam.c b/drivers/media/video/bw-qcam.c
index 032265383df2..40a8e92a01b9 100644
--- a/drivers/media/video/bw-qcam.c
+++ b/drivers/media/video/bw-qcam.c
@@ -523,7 +523,7 @@ static inline int qc_readbytes(struct qcam_device *q, char buffer[])
int ret=1;
unsigned int hi, lo;
unsigned int hi2, lo2;
- static int state = 0;
+ static int state;
if (buffer == NULL)
{
@@ -912,7 +912,7 @@ static struct video_device qcam_template=
#define MAX_CAMS 4
static struct qcam_device *qcams[MAX_CAMS];
-static unsigned int num_cams = 0;
+static unsigned int num_cams;
static int init_bwqcam(struct parport *port)
{
OpenPOWER on IntegriCloud