diff options
author | Eric Sesterhenn / snakebyte <snakebyte@gmx.de> | 2006-01-13 11:10:23 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-13 11:10:23 -0500 |
commit | 9b565eb794eec1ccd9edcc7263ebe5b3245a1e65 (patch) | |
tree | 8615138c3667d1cfc7182e0687e6d5cea5ab5796 | |
parent | a5ed425cd30c0c2abac4039ae11b38520aa130c2 (diff) |
V4L/DVB (3354a): Remove old MODULE_PARM in media/video/
Changes MODULE_PARM usage to module_param
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/arv.c | 6 | ||||
-rw-r--r-- | drivers/media/video/planb.c | 4 | ||||
-rw-r--r-- | drivers/media/video/saa6588.c | 10 | ||||
-rw-r--r-- | drivers/media/video/saa711x.c | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/drivers/media/video/arv.c b/drivers/media/video/arv.c index 7d5a068353f2..994b75fe165a 100644 --- a/drivers/media/video/arv.c +++ b/drivers/media/video/arv.c | |||
@@ -129,9 +129,9 @@ static unsigned char yuv[MAX_AR_FRAME_BYTES]; | |||
129 | static int freq = DEFAULT_FREQ; /* BCLK: available 50 or 70 (MHz) */ | 129 | static int freq = DEFAULT_FREQ; /* BCLK: available 50 or 70 (MHz) */ |
130 | static int vga = 0; /* default mode(0:QVGA mode, other:VGA mode) */ | 130 | static int vga = 0; /* default mode(0:QVGA mode, other:VGA mode) */ |
131 | static int vga_interlace = 0; /* 0 is normal mode for, else interlace mode */ | 131 | static int vga_interlace = 0; /* 0 is normal mode for, else interlace mode */ |
132 | MODULE_PARM(freq, "i"); | 132 | module_param(freq, int, 0); |
133 | MODULE_PARM(vga, "i"); | 133 | module_param(vga, int, 0); |
134 | MODULE_PARM(vga_interlace, "i"); | 134 | module_param(vga_interlace, int, 0); |
135 | 135 | ||
136 | static int ar_initialize(struct video_device *dev); | 136 | static int ar_initialize(struct video_device *dev); |
137 | 137 | ||
diff --git a/drivers/media/video/planb.c b/drivers/media/video/planb.c index b19c33434eaf..f3fc361bec97 100644 --- a/drivers/media/video/planb.c +++ b/drivers/media/video/planb.c | |||
@@ -76,9 +76,9 @@ static volatile struct planb_registers *planb_regs; | |||
76 | static int def_norm = PLANB_DEF_NORM; /* default norm */ | 76 | static int def_norm = PLANB_DEF_NORM; /* default norm */ |
77 | static int video_nr = -1; | 77 | static int video_nr = -1; |
78 | 78 | ||
79 | MODULE_PARM(def_norm, "i"); | 79 | module_param(def_norm, int, 0); |
80 | MODULE_PARM_DESC(def_norm, "Default startup norm (0=PAL, 1=NTSC, 2=SECAM)"); | 80 | MODULE_PARM_DESC(def_norm, "Default startup norm (0=PAL, 1=NTSC, 2=SECAM)"); |
81 | MODULE_PARM(video_nr,"i"); | 81 | module_param(video_nr, int, 0); |
82 | MODULE_LICENSE("GPL"); | 82 | MODULE_LICENSE("GPL"); |
83 | 83 | ||
84 | 84 | ||
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c index e70b17ef36e9..d17395c4f55c 100644 --- a/drivers/media/video/saa6588.c +++ b/drivers/media/video/saa6588.c | |||
@@ -50,15 +50,15 @@ static unsigned int rbds = 0; | |||
50 | static unsigned int plvl = 0; | 50 | static unsigned int plvl = 0; |
51 | static unsigned int bufblocks = 100; | 51 | static unsigned int bufblocks = 100; |
52 | 52 | ||
53 | MODULE_PARM(debug, "i"); | 53 | module_param(debug, int, 0644); |
54 | MODULE_PARM_DESC(debug, "enable debug messages"); | 54 | MODULE_PARM_DESC(debug, "enable debug messages"); |
55 | MODULE_PARM(xtal, "i"); | 55 | module_param(xtal, int, 0); |
56 | MODULE_PARM_DESC(xtal, "select oscillator frequency (0..3), default 0"); | 56 | MODULE_PARM_DESC(xtal, "select oscillator frequency (0..3), default 0"); |
57 | MODULE_PARM(rbds, "i"); | 57 | module_param(rbds, int, 0); |
58 | MODULE_PARM_DESC(rbds, "select mode, 0=RDS, 1=RBDS, default 0"); | 58 | MODULE_PARM_DESC(rbds, "select mode, 0=RDS, 1=RBDS, default 0"); |
59 | MODULE_PARM(plvl, "i"); | 59 | module_param(plvl, int, 0); |
60 | MODULE_PARM_DESC(plvl, "select pause level (0..3), default 0"); | 60 | MODULE_PARM_DESC(plvl, "select pause level (0..3), default 0"); |
61 | MODULE_PARM(bufblocks, "i"); | 61 | module_param(bufblocks, int, 0); |
62 | MODULE_PARM_DESC(bufblocks, "number of buffered blocks, default 100"); | 62 | MODULE_PARM_DESC(bufblocks, "number of buffered blocks, default 100"); |
63 | 63 | ||
64 | MODULE_DESCRIPTION("v4l2 driver module for SAA6588 RDS decoder"); | 64 | MODULE_DESCRIPTION("v4l2 driver module for SAA6588 RDS decoder"); |
diff --git a/drivers/media/video/saa711x.c b/drivers/media/video/saa711x.c index ae53063875f9..6c161f2f5e2c 100644 --- a/drivers/media/video/saa711x.c +++ b/drivers/media/video/saa711x.c | |||
@@ -52,7 +52,7 @@ MODULE_LICENSE("GPL"); | |||
52 | #include <linux/video_decoder.h> | 52 | #include <linux/video_decoder.h> |
53 | 53 | ||
54 | static int debug = 0; | 54 | static int debug = 0; |
55 | MODULE_PARM(debug, "i"); | 55 | module_param(debug, int, 0644); |
56 | MODULE_PARM_DESC(debug, " Set the default Debug level. Default: 0 (Off) - (0-1)"); | 56 | MODULE_PARM_DESC(debug, " Set the default Debug level. Default: 0 (Off) - (0-1)"); |
57 | 57 | ||
58 | 58 | ||