diff options
author | Bert Wesarg <wesarg@informatik.uni-halle.de> | 2005-04-16 18:25:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:25:43 -0400 |
commit | 975e046cc06005bafe0c5ce81d55a1b1eb84f5a1 (patch) | |
tree | 6e95047664d5d5e2006a753449122cd6e7e32002 | |
parent | 31143a12044caa3521edafd736e3bc18c098d2fd (diff) |
[PATCH] fix module_param_string() calls
This patch fix 3 calls to module_param_string() in
driver/media/video/tuner-core.c and drivers/media/video/tda9887.c. In all
three places, the len and the perm parameter was switched.
Signed-off-by: Bert Wesarg <wesarg@informatik.uni-halle.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/media/video/tda9887.c | 4 | ||||
-rw-r--r-- | drivers/media/video/tuner-core.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index d9c3169f9a04..debef1910c37 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/video/tda9887.c | |||
@@ -478,9 +478,9 @@ static int tda9887_set_pinnacle(struct tda9887 *t, char *buf) | |||
478 | /* ---------------------------------------------------------------------- */ | 478 | /* ---------------------------------------------------------------------- */ |
479 | 479 | ||
480 | static char pal[] = "-"; | 480 | static char pal[] = "-"; |
481 | module_param_string(pal, pal, 0644, sizeof(pal)); | 481 | module_param_string(pal, pal, sizeof(pal), 0644); |
482 | static char secam[] = "-"; | 482 | static char secam[] = "-"; |
483 | module_param_string(secam, secam, 0644, sizeof(secam)); | 483 | module_param_string(secam, secam, sizeof(secam), 0644); |
484 | 484 | ||
485 | static int tda9887_fixup_std(struct tda9887 *t) | 485 | static int tda9887_fixup_std(struct tda9887 *t) |
486 | { | 486 | { |
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index eded776a2312..881a0539fc17 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -162,7 +162,7 @@ static void set_type(struct i2c_client *c, unsigned int type) | |||
162 | } | 162 | } |
163 | 163 | ||
164 | static char pal[] = "-"; | 164 | static char pal[] = "-"; |
165 | module_param_string(pal, pal, 0644, sizeof(pal)); | 165 | module_param_string(pal, pal, sizeof(pal), 0644); |
166 | 166 | ||
167 | static int tuner_fixup_std(struct tuner *t) | 167 | static int tuner_fixup_std(struct tuner *t) |
168 | { | 168 | { |