aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bw-qcam.c
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2008-04-22 13:41:48 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 12:42:20 -0400
commitff699e6bd02eb1c6d02c7c2b576c2ee6caab201c (patch)
tree496169dda7f8f4dc471f76f715805eb92d621db3 /drivers/media/video/bw-qcam.c
parent29bec0bff50d8f8b108ed22e9981eb4635efc566 (diff)
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[])
523 int ret=1; 523 int ret=1;
524 unsigned int hi, lo; 524 unsigned int hi, lo;
525 unsigned int hi2, lo2; 525 unsigned int hi2, lo2;
526 static int state = 0; 526 static int state;
527 527
528 if (buffer == NULL) 528 if (buffer == NULL)
529 { 529 {
@@ -912,7 +912,7 @@ static struct video_device qcam_template=
912 912
913#define MAX_CAMS 4 913#define MAX_CAMS 4
914static struct qcam_device *qcams[MAX_CAMS]; 914static struct qcam_device *qcams[MAX_CAMS];
915static unsigned int num_cams = 0; 915static unsigned int num_cams;
916 916
917static int init_bwqcam(struct parport *port) 917static int init_bwqcam(struct parport *port)
918{ 918{