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/cx88 | |
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/cx88')
-rw-r--r-- | drivers/media/video/cx88/cx88-blackbird.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-core.c | 6 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-i2c.c | 4 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-input.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-mpeg.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-tvaudio.c | 6 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-vbi.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 4 |
9 files changed, 15 insertions, 15 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index a99e9d5950aa..c37269074524 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c | |||
@@ -45,7 +45,7 @@ static unsigned int mpegbufs = 32; | |||
45 | module_param(mpegbufs,int,0644); | 45 | module_param(mpegbufs,int,0644); |
46 | MODULE_PARM_DESC(mpegbufs,"number of mpeg buffers, range 2-32"); | 46 | MODULE_PARM_DESC(mpegbufs,"number of mpeg buffers, range 2-32"); |
47 | 47 | ||
48 | static unsigned int debug = 0; | 48 | static unsigned int debug; |
49 | module_param(debug,int,0644); | 49 | module_param(debug,int,0644); |
50 | MODULE_PARM_DESC(debug,"enable debug messages [blackbird]"); | 50 | MODULE_PARM_DESC(debug,"enable debug messages [blackbird]"); |
51 | 51 | ||
diff --git a/drivers/media/video/cx88/cx88-core.c b/drivers/media/video/cx88/cx88-core.c index 01e2ac98970b..12440b91e4b3 100644 --- a/drivers/media/video/cx88/cx88-core.c +++ b/drivers/media/video/cx88/cx88-core.c | |||
@@ -47,15 +47,15 @@ MODULE_LICENSE("GPL"); | |||
47 | 47 | ||
48 | /* ------------------------------------------------------------------ */ | 48 | /* ------------------------------------------------------------------ */ |
49 | 49 | ||
50 | static unsigned int core_debug = 0; | 50 | static unsigned int core_debug; |
51 | module_param(core_debug,int,0644); | 51 | module_param(core_debug,int,0644); |
52 | MODULE_PARM_DESC(core_debug,"enable debug messages [core]"); | 52 | MODULE_PARM_DESC(core_debug,"enable debug messages [core]"); |
53 | 53 | ||
54 | static unsigned int nicam = 0; | 54 | static unsigned int nicam; |
55 | module_param(nicam,int,0644); | 55 | module_param(nicam,int,0644); |
56 | MODULE_PARM_DESC(nicam,"tv audio is nicam"); | 56 | MODULE_PARM_DESC(nicam,"tv audio is nicam"); |
57 | 57 | ||
58 | static unsigned int nocomb = 0; | 58 | static unsigned int nocomb; |
59 | module_param(nocomb,int,0644); | 59 | module_param(nocomb,int,0644); |
60 | MODULE_PARM_DESC(nocomb,"disable comb filter"); | 60 | MODULE_PARM_DESC(nocomb,"disable comb filter"); |
61 | 61 | ||
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index f7b41eb1bb5a..7586fe31f643 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -51,7 +51,7 @@ MODULE_AUTHOR("Chris Pascoe <c.pascoe@itee.uq.edu.au>"); | |||
51 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); | 51 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); |
52 | MODULE_LICENSE("GPL"); | 52 | MODULE_LICENSE("GPL"); |
53 | 53 | ||
54 | static unsigned int debug = 0; | 54 | static unsigned int debug; |
55 | module_param(debug, int, 0644); | 55 | module_param(debug, int, 0644); |
56 | MODULE_PARM_DESC(debug,"enable debug messages [dvb]"); | 56 | MODULE_PARM_DESC(debug,"enable debug messages [dvb]"); |
57 | 57 | ||
diff --git a/drivers/media/video/cx88/cx88-i2c.c b/drivers/media/video/cx88/cx88-i2c.c index 566b26af523e..c6b44732a082 100644 --- a/drivers/media/video/cx88/cx88-i2c.c +++ b/drivers/media/video/cx88/cx88-i2c.c | |||
@@ -35,11 +35,11 @@ | |||
35 | #include "cx88.h" | 35 | #include "cx88.h" |
36 | #include <media/v4l2-common.h> | 36 | #include <media/v4l2-common.h> |
37 | 37 | ||
38 | static unsigned int i2c_debug = 0; | 38 | static unsigned int i2c_debug; |
39 | module_param(i2c_debug, int, 0644); | 39 | module_param(i2c_debug, int, 0644); |
40 | MODULE_PARM_DESC(i2c_debug,"enable debug messages [i2c]"); | 40 | MODULE_PARM_DESC(i2c_debug,"enable debug messages [i2c]"); |
41 | 41 | ||
42 | static unsigned int i2c_scan = 0; | 42 | static unsigned int i2c_scan; |
43 | module_param(i2c_scan, int, 0444); | 43 | module_param(i2c_scan, int, 0444); |
44 | MODULE_PARM_DESC(i2c_scan,"scan i2c bus at insmod time"); | 44 | MODULE_PARM_DESC(i2c_scan,"scan i2c bus at insmod time"); |
45 | 45 | ||
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c index bb0911b4d2f6..d2e42c77b5a8 100644 --- a/drivers/media/video/cx88/cx88-input.c +++ b/drivers/media/video/cx88/cx88-input.c | |||
@@ -57,7 +57,7 @@ struct cx88_IR { | |||
57 | u32 mask_keyup; | 57 | u32 mask_keyup; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | static int ir_debug = 0; | 60 | static int ir_debug; |
61 | module_param(ir_debug, int, 0644); /* debug level [IR] */ | 61 | module_param(ir_debug, int, 0644); /* debug level [IR] */ |
62 | MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]"); | 62 | MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]"); |
63 | 63 | ||
diff --git a/drivers/media/video/cx88/cx88-mpeg.c b/drivers/media/video/cx88/cx88-mpeg.c index e357f415db06..a02cabbab778 100644 --- a/drivers/media/video/cx88/cx88-mpeg.c +++ b/drivers/media/video/cx88/cx88-mpeg.c | |||
@@ -39,7 +39,7 @@ MODULE_AUTHOR("Chris Pascoe <c.pascoe@itee.uq.edu.au>"); | |||
39 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); | 39 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); |
40 | MODULE_LICENSE("GPL"); | 40 | MODULE_LICENSE("GPL"); |
41 | 41 | ||
42 | static unsigned int debug = 0; | 42 | static unsigned int debug; |
43 | module_param(debug,int,0644); | 43 | module_param(debug,int,0644); |
44 | MODULE_PARM_DESC(debug,"enable debug messages [mpeg]"); | 44 | MODULE_PARM_DESC(debug,"enable debug messages [mpeg]"); |
45 | 45 | ||
diff --git a/drivers/media/video/cx88/cx88-tvaudio.c b/drivers/media/video/cx88/cx88-tvaudio.c index 76e5c78d8ae4..c574f450498f 100644 --- a/drivers/media/video/cx88/cx88-tvaudio.c +++ b/drivers/media/video/cx88/cx88-tvaudio.c | |||
@@ -53,15 +53,15 @@ | |||
53 | 53 | ||
54 | #include "cx88.h" | 54 | #include "cx88.h" |
55 | 55 | ||
56 | static unsigned int audio_debug = 0; | 56 | static unsigned int audio_debug; |
57 | module_param(audio_debug, int, 0644); | 57 | module_param(audio_debug, int, 0644); |
58 | MODULE_PARM_DESC(audio_debug, "enable debug messages [audio]"); | 58 | MODULE_PARM_DESC(audio_debug, "enable debug messages [audio]"); |
59 | 59 | ||
60 | static unsigned int always_analog = 0; | 60 | static unsigned int always_analog; |
61 | module_param(always_analog,int,0644); | 61 | module_param(always_analog,int,0644); |
62 | MODULE_PARM_DESC(always_analog,"force analog audio out"); | 62 | MODULE_PARM_DESC(always_analog,"force analog audio out"); |
63 | 63 | ||
64 | static unsigned int radio_deemphasis = 0; | 64 | static unsigned int radio_deemphasis; |
65 | module_param(radio_deemphasis,int,0644); | 65 | module_param(radio_deemphasis,int,0644); |
66 | MODULE_PARM_DESC(radio_deemphasis, "Radio deemphasis time constant, " | 66 | MODULE_PARM_DESC(radio_deemphasis, "Radio deemphasis time constant, " |
67 | "0=None, 1=50us (elsewhere), 2=75us (USA)"); | 67 | "0=None, 1=50us (elsewhere), 2=75us (USA)"); |
diff --git a/drivers/media/video/cx88/cx88-vbi.c b/drivers/media/video/cx88/cx88-vbi.c index d96ecfcf393a..0943060682bc 100644 --- a/drivers/media/video/cx88/cx88-vbi.c +++ b/drivers/media/video/cx88/cx88-vbi.c | |||
@@ -11,7 +11,7 @@ static unsigned int vbibufs = 4; | |||
11 | module_param(vbibufs,int,0644); | 11 | module_param(vbibufs,int,0644); |
12 | MODULE_PARM_DESC(vbibufs,"number of vbi buffers, range 2-32"); | 12 | MODULE_PARM_DESC(vbibufs,"number of vbi buffers, range 2-32"); |
13 | 13 | ||
14 | static unsigned int vbi_debug = 0; | 14 | static unsigned int vbi_debug; |
15 | module_param(vbi_debug,int,0644); | 15 | module_param(vbi_debug,int,0644); |
16 | MODULE_PARM_DESC(vbi_debug,"enable debug messages [vbi]"); | 16 | MODULE_PARM_DESC(vbi_debug,"enable debug messages [vbi]"); |
17 | 17 | ||
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index 227179620d13..8b293a3357b2 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -63,11 +63,11 @@ MODULE_PARM_DESC(video_nr,"video device numbers"); | |||
63 | MODULE_PARM_DESC(vbi_nr,"vbi device numbers"); | 63 | MODULE_PARM_DESC(vbi_nr,"vbi device numbers"); |
64 | MODULE_PARM_DESC(radio_nr,"radio device numbers"); | 64 | MODULE_PARM_DESC(radio_nr,"radio device numbers"); |
65 | 65 | ||
66 | static unsigned int video_debug = 0; | 66 | static unsigned int video_debug; |
67 | module_param(video_debug,int,0644); | 67 | module_param(video_debug,int,0644); |
68 | MODULE_PARM_DESC(video_debug,"enable debug messages [video]"); | 68 | MODULE_PARM_DESC(video_debug,"enable debug messages [video]"); |
69 | 69 | ||
70 | static unsigned int irq_debug = 0; | 70 | static unsigned int irq_debug; |
71 | module_param(irq_debug,int,0644); | 71 | module_param(irq_debug,int,0644); |
72 | MODULE_PARM_DESC(irq_debug,"enable debug messages [IRQ handler]"); | 72 | MODULE_PARM_DESC(irq_debug,"enable debug messages [IRQ handler]"); |
73 | 73 | ||