diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-02-06 10:22:14 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-02-06 10:22:14 -0200 |
commit | 4537384b7e9fd37a658ac1cc3c5e2da55270aaa4 (patch) | |
tree | b2913e26b6171e6a9f2279045a3feba0ab7ee0a9 /linux/drivers/media/video/saa6588.c | |
parent | aaf40c6ff3028f2396368689550f0141c7eebb07 (diff) | |
download | mediapointer-dvb-s2-4537384b7e9fd37a658ac1cc3c5e2da55270aaa4.tar.gz mediapointer-dvb-s2-4537384b7e9fd37a658ac1cc3c5e2da55270aaa4.tar.bz2 |
Make usage of module_param() macro
From: Mauro Carvalho Chehab <mchehab@infradead.org>
kernel-sync
MODULE_PARM is an obsoleted macro.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa6588.c')
-rw-r--r-- | linux/drivers/media/video/saa6588.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/video/saa6588.c b/linux/drivers/media/video/saa6588.c index 294078e92..f009567b3 100644 --- a/linux/drivers/media/video/saa6588.c +++ b/linux/drivers/media/video/saa6588.c @@ -57,15 +57,15 @@ static unsigned int rbds = 0; static unsigned int plvl = 0; static unsigned int bufblocks = 100; -MODULE_PARM(debug, "i"); +module_param(debug, int, 0644); MODULE_PARM_DESC(debug, "enable debug messages"); -MODULE_PARM(xtal, "i"); +module_param(xtal, int, 0); MODULE_PARM_DESC(xtal, "select oscillator frequency (0..3), default 0"); -MODULE_PARM(rbds, "i"); +module_param(rbds, int, 0); MODULE_PARM_DESC(rbds, "select mode, 0=RDS, 1=RBDS, default 0"); -MODULE_PARM(plvl, "i"); +module_param(plvl, int, 0); MODULE_PARM_DESC(plvl, "select pause level (0..3), default 0"); -MODULE_PARM(bufblocks, "i"); +module_param(bufblocks, int, 0); MODULE_PARM_DESC(bufblocks, "number of buffered blocks, default 100"); MODULE_DESCRIPTION("v4l2 driver module for SAA6588 RDS decoder"); |