aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zoran_card.c
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/zoran_card.c
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/zoran_card.c')
-rw-r--r--drivers/media/video/zoran_card.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/zoran_card.c b/drivers/media/video/zoran_card.c
index 690281bb59ee..006d48847e24 100644
--- a/drivers/media/video/zoran_card.c
+++ b/drivers/media/video/zoran_card.c
@@ -83,7 +83,7 @@ MODULE_PARM_DESC(decoder, "i2c TV decoder");
83 or set in in a VIDIOCSFBUF ioctl 83 or set in in a VIDIOCSFBUF ioctl
84 */ 84 */
85 85
86static unsigned long vidmem = 0; /* Video memory base address */ 86static unsigned long vidmem; /* default = 0 - Video memory base address */
87module_param(vidmem, ulong, 0444); 87module_param(vidmem, ulong, 0444);
88MODULE_PARM_DESC(vidmem, "Default video memory base address"); 88MODULE_PARM_DESC(vidmem, "Default video memory base address");
89 89
@@ -91,7 +91,7 @@ MODULE_PARM_DESC(vidmem, "Default video memory base address");
91 Default input and video norm at startup of the driver. 91 Default input and video norm at startup of the driver.
92*/ 92*/
93 93
94static unsigned int default_input = 0; /* 0=Composite, 1=S-Video */ 94static unsigned int default_input; /* default 0 = Composite, 1 = S-Video */
95module_param(default_input, uint, 0444); 95module_param(default_input, uint, 0444);
96MODULE_PARM_DESC(default_input, 96MODULE_PARM_DESC(default_input,
97 "Default input (0=Composite, 1=S-Video, 2=Internal)"); 97 "Default input (0=Composite, 1=S-Video, 2=Internal)");
@@ -101,7 +101,7 @@ module_param(default_mux, int, 0644);
101MODULE_PARM_DESC(default_mux, 101MODULE_PARM_DESC(default_mux,
102 "Default 6 Eyes mux setting (Input selection)"); 102 "Default 6 Eyes mux setting (Input selection)");
103 103
104static int default_norm = 0; /* 0=PAL, 1=NTSC 2=SECAM */ 104static int default_norm; /* default 0 = PAL, 1 = NTSC 2 = SECAM */
105module_param(default_norm, int, 0444); 105module_param(default_norm, int, 0444);
106MODULE_PARM_DESC(default_norm, "Default norm (0=PAL, 1=NTSC, 2=SECAM)"); 106MODULE_PARM_DESC(default_norm, "Default norm (0=PAL, 1=NTSC, 2=SECAM)");
107 107