summaryrefslogtreecommitdiff
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorBert Wesarg <wesarg@informatik.uni-halle.de>2005-04-16 15:25:43 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:25:43 -0700
commit975e046cc06005bafe0c5ce81d55a1b1eb84f5a1 (patch)
tree6e95047664d5d5e2006a753449122cd6e7e32002 /drivers/media/video/tuner-core.c
parent31143a12044caa3521edafd736e3bc18c098d2fd (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>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c2
1 files changed, 1 insertions, 1 deletions
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)
}
static char pal[] = "-";
-module_param_string(pal, pal, 0644, sizeof(pal));
+module_param_string(pal, pal, sizeof(pal), 0644);
static int tuner_fixup_std(struct tuner *t)
{