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/cpia2 | |
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/cpia2')
-rw-r--r-- | drivers/media/video/cpia2/cpia2_core.c | 4 | ||||
-rw-r--r-- | drivers/media/video/cpia2/cpia2_usb.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cpia2/cpia2_core.c b/drivers/media/video/cpia2/cpia2_core.c index a76bd786cf1..a439a56c3cc 100644 --- a/drivers/media/video/cpia2/cpia2_core.c +++ b/drivers/media/video/cpia2/cpia2_core.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/slab.h> | 34 | #include <linux/slab.h> |
35 | #include <linux/vmalloc.h> | 35 | #include <linux/vmalloc.h> |
36 | 36 | ||
37 | //#define _CPIA2_DEBUG_ | 37 | /* #define _CPIA2_DEBUG_ */ |
38 | 38 | ||
39 | #include "cpia2patch.h" | 39 | #include "cpia2patch.h" |
40 | 40 | ||
@@ -48,7 +48,7 @@ static const char *block_name[] = { | |||
48 | }; | 48 | }; |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | static unsigned int debugs_on = 0;//DEBUG_REG; | 51 | static unsigned int debugs_on; /* default 0 - DEBUG_REG */ |
52 | 52 | ||
53 | 53 | ||
54 | /****************************************************************************** | 54 | /****************************************************************************** |
diff --git a/drivers/media/video/cpia2/cpia2_usb.c b/drivers/media/video/cpia2/cpia2_usb.c index d8e929863a8..a4574740350 100644 --- a/drivers/media/video/cpia2/cpia2_usb.c +++ b/drivers/media/video/cpia2/cpia2_usb.c | |||
@@ -84,7 +84,7 @@ static struct usb_driver cpia2_driver = { | |||
84 | *****************************************************************************/ | 84 | *****************************************************************************/ |
85 | static void process_frame(struct camera_data *cam) | 85 | static void process_frame(struct camera_data *cam) |
86 | { | 86 | { |
87 | static int frame_count = 0; | 87 | static int frame_count; |
88 | 88 | ||
89 | unsigned char *inbuff = cam->workbuff->data; | 89 | unsigned char *inbuff = cam->workbuff->data; |
90 | 90 | ||