summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ov511.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 20:35:30 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 21:41:52 +0200
commit64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (patch)
tree19949f0c50538e08b7e434db7860bef02d8aa611 /drivers/media/video/ov511.c
parentlong vs. unsigned long - low-hanging fruits in drivers (diff)
downloadlinux-64a6f9500d8e8a8e1b1adc2120e56cc88df5727f.tar.xz
linux-64a6f9500d8e8a8e1b1adc2120e56cc88df5727f.zip
signedness: module_param_array nump argument
... should be unsigned int Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media/video/ov511.c')
-rw-r--r--drivers/media/video/ov511.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c
index 9eb2562347a8..b8d4ac0d938e 100644
--- a/drivers/media/video/ov511.c
+++ b/drivers/media/video/ov511.c
@@ -181,7 +181,7 @@ module_param(force_palette, int, 0);
MODULE_PARM_DESC(force_palette, "Force the palette to a specific value");
module_param(backlight, int, 0);
MODULE_PARM_DESC(backlight, "For objects that are lit from behind");
-static int num_uv;
+static unsigned int num_uv;
module_param_array(unit_video, int, &num_uv, 0);
MODULE_PARM_DESC(unit_video,
"Force use of specific minor number(s). 0 is not allowed.");