Commit 9973261a authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] v4l: more modparam

convert more modules to new-style insmod options.
Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b3163786
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
/* insmod args */ /* insmod args */
MODULE_PARM(debug,"i");
static int debug = 0; /* insmod parameter */ static int debug = 0; /* insmod parameter */
module_param(debug, int, 0644);
MODULE_DESCRIPTION("device driver for various i2c TV sound decoder / audiomux chips"); MODULE_DESCRIPTION("device driver for various i2c TV sound decoder / audiomux chips");
MODULE_AUTHOR("Eric Sandeen, Steve VanDeBogart, Greg Alexander, Gerd Knorr"); MODULE_AUTHOR("Eric Sandeen, Steve VanDeBogart, Greg Alexander, Gerd Knorr");
...@@ -764,9 +764,9 @@ static int tda9874a_dic = -1; /* device id. code */ ...@@ -764,9 +764,9 @@ static int tda9874a_dic = -1; /* device id. code */
static unsigned int tda9874a_SIF = UNSET; static unsigned int tda9874a_SIF = UNSET;
static unsigned int tda9874a_AMSEL = UNSET; static unsigned int tda9874a_AMSEL = UNSET;
static unsigned int tda9874a_STD = UNSET; static unsigned int tda9874a_STD = UNSET;
MODULE_PARM(tda9874a_SIF,"i"); module_param(tda9874a_SIF, int, 0444);
MODULE_PARM(tda9874a_AMSEL,"i"); module_param(tda9874a_AMSEL, int, 0444);
MODULE_PARM(tda9874a_STD,"i"); module_param(tda9874a_STD, int, 0444);
/* /*
* initialization table for tda9874 decoder: * initialization table for tda9874 decoder:
...@@ -1218,16 +1218,16 @@ int tea6420 = 1; ...@@ -1218,16 +1218,16 @@ int tea6420 = 1;
int pic16c54 = 1; int pic16c54 = 1;
int ta8874z = 0; // address clash with tda9840 int ta8874z = 0; // address clash with tda9840
MODULE_PARM(tda8425,"i"); module_param(tda8425, int, 0444);
MODULE_PARM(tda9840,"i"); module_param(tda9840, int, 0444);
MODULE_PARM(tda9850,"i"); module_param(tda9850, int, 0444);
MODULE_PARM(tda9855,"i"); module_param(tda9855, int, 0444);
MODULE_PARM(tda9873,"i"); module_param(tda9873, int, 0444);
MODULE_PARM(tda9874a,"i"); module_param(tda9874a, int, 0444);
MODULE_PARM(tea6300,"i"); module_param(tea6300, int, 0444);
MODULE_PARM(tea6420,"i"); module_param(tea6420, int, 0444);
MODULE_PARM(pic16c54,"i"); module_param(pic16c54, int, 0444);
MODULE_PARM(ta8874z,"i"); module_param(ta8874z, int, 0444);
static struct CHIPDESC chiplist[] = { static struct CHIPDESC chiplist[] = {
{ {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#define DEV_MAX 4 #define DEV_MAX 4
static int devnr = -1; static int devnr = -1;
MODULE_PARM(devnr,"i"); module_param(devnr, int, 0644);
MODULE_AUTHOR("Gerd Knorr"); MODULE_AUTHOR("Gerd Knorr");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment