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/cafe_ccic.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/cafe_ccic.c')
-rw-r--r-- | drivers/media/video/cafe_ccic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c index 7ae499c9c54c..5195b1f3378a 100644 --- a/drivers/media/video/cafe_ccic.c +++ b/drivers/media/video/cafe_ccic.c | |||
@@ -65,7 +65,7 @@ MODULE_SUPPORTED_DEVICE("Video"); | |||
65 | */ | 65 | */ |
66 | 66 | ||
67 | #define MAX_DMA_BUFS 3 | 67 | #define MAX_DMA_BUFS 3 |
68 | static int alloc_bufs_at_read = 0; | 68 | static int alloc_bufs_at_read; |
69 | module_param(alloc_bufs_at_read, bool, 0444); | 69 | module_param(alloc_bufs_at_read, bool, 0444); |
70 | MODULE_PARM_DESC(alloc_bufs_at_read, | 70 | MODULE_PARM_DESC(alloc_bufs_at_read, |
71 | "Non-zero value causes DMA buffers to be allocated when the " | 71 | "Non-zero value causes DMA buffers to be allocated when the " |
@@ -99,7 +99,7 @@ MODULE_PARM_DESC(max_buffers, | |||
99 | "will be allowed to allocate. These buffers are big and live " | 99 | "will be allowed to allocate. These buffers are big and live " |
100 | "in vmalloc space."); | 100 | "in vmalloc space."); |
101 | 101 | ||
102 | static int flip = 0; | 102 | static int flip; |
103 | module_param(flip, bool, 0444); | 103 | module_param(flip, bool, 0444); |
104 | MODULE_PARM_DESC(flip, | 104 | MODULE_PARM_DESC(flip, |
105 | "If set, the sensor will be instructed to flip the image " | 105 | "If set, the sensor will be instructed to flip the image " |