diff options
author | Gerd Knorr <devnull@localhost> | 2004-11-19 18:07:12 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-11-19 18:07:12 +0000 |
commit | 7175dee15a08b254c7847bf4bcba6552677eae7f (patch) | |
tree | b3197a92fa5af73a50ca08b577cb3b2ade4ebec6 /linux/drivers/media/video/tda7432.c | |
parent | be06ee9b223801a7f8f55d5303c84c5068728d16 (diff) | |
download | mediapointer-dvb-s2-7175dee15a08b254c7847bf4bcba6552677eae7f.tar.gz mediapointer-dvb-s2-7175dee15a08b254c7847bf4bcba6552677eae7f.tar.bz2 |
- misc cleanups.
- blackbird + empress updates.
Diffstat (limited to 'linux/drivers/media/video/tda7432.c')
-rw-r--r-- | linux/drivers/media/video/tda7432.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/video/tda7432.c b/linux/drivers/media/video/tda7432.c index 6ab76e480..e164e034d 100644 --- a/linux/drivers/media/video/tda7432.c +++ b/linux/drivers/media/video/tda7432.c @@ -66,13 +66,13 @@ MODULE_AUTHOR("Eric Sandeen <eric_sandeen@bigfoot.com>"); MODULE_DESCRIPTION("bttv driver for the tda7432 audio processor chip"); MODULE_LICENSE("GPL"); -MODULE_PARM(debug,"i"); -MODULE_PARM(loudness,"i"); +static int maxvol; +static int loudness; /* disable loudness by default */ +static int debug; /* insmod parameter */ +module_param(debug, int, S_IRUGO | S_IWUSR); +module_param(loudness, int, S_IRUGO); MODULE_PARM_DESC(maxvol,"Set maximium volume to +20db (0), default is 0db(1)"); -MODULE_PARM(maxvol,"i"); -static int maxvol = 0; -static int loudness = 0; /* disable loudness by default */ -static int debug = 0; /* insmod parameter */ +module_param(maxvol, int, S_IRUGO | S_IWUSR); /* Address to scan (I2C address of this chip) */ |