diff options
author | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-04-22 13:41:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 12:42:20 -0400 |
commit | ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c (patch) | |
tree | 496169dda7f8f4dc471f76f715805eb92d621db3 /drivers/media/video/c-qcam.c | |
parent | 29bec0bff50d8f8b108ed22e9981eb4635efc566 (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/c-qcam.c')
-rw-r--r-- | drivers/media/video/c-qcam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/c-qcam.c b/drivers/media/video/c-qcam.c index cf1546b5a7f1..d4d5adfb0351 100644 --- a/drivers/media/video/c-qcam.c +++ b/drivers/media/video/c-qcam.c | |||
@@ -69,7 +69,7 @@ struct qcam_device { | |||
69 | 69 | ||
70 | static int parport[MAX_CAMS] = { [1 ... MAX_CAMS-1] = -1 }; | 70 | static int parport[MAX_CAMS] = { [1 ... MAX_CAMS-1] = -1 }; |
71 | static int probe = 2; | 71 | static int probe = 2; |
72 | static int force_rgb = 0; | 72 | static int force_rgb; |
73 | static int video_nr = -1; | 73 | static int video_nr = -1; |
74 | 74 | ||
75 | static inline void qcam_set_ack(struct qcam_device *qcam, unsigned int i) | 75 | static inline void qcam_set_ack(struct qcam_device *qcam, unsigned int i) |
@@ -741,7 +741,7 @@ static struct qcam_device *qcam_init(struct parport *port) | |||
741 | } | 741 | } |
742 | 742 | ||
743 | static struct qcam_device *qcams[MAX_CAMS]; | 743 | static struct qcam_device *qcams[MAX_CAMS]; |
744 | static unsigned int num_cams = 0; | 744 | static unsigned int num_cams; |
745 | 745 | ||
746 | static int init_cqcam(struct parport *port) | 746 | static int init_cqcam(struct parport *port) |
747 | { | 747 | { |