aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cpia2
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/cpia2
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/cpia2')
-rw-r--r--drivers/media/video/cpia2/cpia2_core.c4
-rw-r--r--drivers/media/video/cpia2/cpia2_usb.c2
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 a76bd786cf13..a439a56c3cc9 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
51static unsigned int debugs_on = 0;//DEBUG_REG; 51static 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 d8e929863a88..a4574740350d 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 *****************************************************************************/
85static void process_frame(struct camera_data *cam) 85static 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