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/pwc | |
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/pwc')
-rw-r--r-- | drivers/media/video/pwc/pwc-if.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/pwc/pwc-if.c b/drivers/media/video/pwc/pwc-if.c index e0a453a6543d..b6240a1a606f 100644 --- a/drivers/media/video/pwc/pwc-if.c +++ b/drivers/media/video/pwc/pwc-if.c | |||
@@ -130,8 +130,8 @@ static int default_fbufs = 3; /* Default number of frame buffers */ | |||
130 | #ifdef CONFIG_USB_PWC_DEBUG | 130 | #ifdef CONFIG_USB_PWC_DEBUG |
131 | int pwc_trace = PWC_DEBUG_LEVEL; | 131 | int pwc_trace = PWC_DEBUG_LEVEL; |
132 | #endif | 132 | #endif |
133 | static int power_save = 0; | 133 | static int power_save; |
134 | static int led_on = 100, led_off = 0; /* defaults to LED that is on while in use */ | 134 | static int led_on = 100, led_off; /* defaults to LED that is on while in use */ |
135 | static int pwc_preferred_compression = 1; /* 0..3 = uncompressed..high */ | 135 | static int pwc_preferred_compression = 1; /* 0..3 = uncompressed..high */ |
136 | static struct { | 136 | static struct { |
137 | int type; | 137 | int type; |
@@ -786,8 +786,8 @@ static void pwc_isoc_handler(struct urb *urb) | |||
786 | } /* ..status == 0 */ | 786 | } /* ..status == 0 */ |
787 | else { | 787 | else { |
788 | /* This is normally not interesting to the user, unless | 788 | /* This is normally not interesting to the user, unless |
789 | * you are really debugging something */ | 789 | * you are really debugging something, default = 0 */ |
790 | static int iso_error = 0; | 790 | static int iso_error; |
791 | iso_error++; | 791 | iso_error++; |
792 | if (iso_error < 20) | 792 | if (iso_error < 20) |
793 | PWC_DEBUG_FLOW("Iso frame %d of USB has error %d\n", i, fst); | 793 | PWC_DEBUG_FLOW("Iso frame %d of USB has error %d\n", i, fst); |