aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 14:35:30 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 15:41:52 -0400
commit64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (patch)
tree19949f0c50538e08b7e434db7860bef02d8aa611 /drivers/media
parent64b33619a30ff18c1535ee779572ecffcc4711d2 (diff)
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')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c6
-rw-r--r--drivers/media/video/ov511.c2
-rw-r--r--drivers/media/video/pwc/pwc-if.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index 511a66252413..fd7a932e1d33 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -98,9 +98,9 @@ static int radio[IVTV_MAX_CARDS] = { -1, -1, -1, -1, -1, -1, -1, -1,
98 -1, -1, -1, -1, -1, -1, -1, -1, 98 -1, -1, -1, -1, -1, -1, -1, -1,
99 -1, -1, -1, -1, -1, -1, -1, -1 }; 99 -1, -1, -1, -1, -1, -1, -1, -1 };
100 100
101static int cardtype_c = 1; 101static unsigned int cardtype_c = 1;
102static int tuner_c = 1; 102static unsigned int tuner_c = 1;
103static int radio_c = 1; 103static unsigned int radio_c = 1;
104static char pal[] = "--"; 104static char pal[] = "--";
105static char secam[] = "--"; 105static char secam[] = "--";
106static char ntsc[] = "-"; 106static char ntsc[] = "-";
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);
181MODULE_PARM_DESC(force_palette, "Force the palette to a specific value"); 181MODULE_PARM_DESC(force_palette, "Force the palette to a specific value");
182module_param(backlight, int, 0); 182module_param(backlight, int, 0);
183MODULE_PARM_DESC(backlight, "For objects that are lit from behind"); 183MODULE_PARM_DESC(backlight, "For objects that are lit from behind");
184static int num_uv; 184static unsigned int num_uv;
185module_param_array(unit_video, int, &num_uv, 0); 185module_param_array(unit_video, int, &num_uv, 0);
186MODULE_PARM_DESC(unit_video, 186MODULE_PARM_DESC(unit_video,
187 "Force use of specific minor number(s). 0 is not allowed."); 187 "Force use of specific minor number(s). 0 is not allowed.");
diff --git a/drivers/media/video/pwc/pwc-if.c b/drivers/media/video/pwc/pwc-if.c
index 0b67d4ec0318..950da2542148 100644
--- a/drivers/media/video/pwc/pwc-if.c
+++ b/drivers/media/video/pwc/pwc-if.c
@@ -1903,9 +1903,9 @@ static int fbufs;
1903static int mbufs; 1903static int mbufs;
1904static int compression = -1; 1904static int compression = -1;
1905static int leds[2] = { -1, -1 }; 1905static int leds[2] = { -1, -1 };
1906static int leds_nargs; 1906static unsigned int leds_nargs;
1907static char *dev_hint[MAX_DEV_HINTS]; 1907static char *dev_hint[MAX_DEV_HINTS];
1908static int dev_hint_nargs; 1908static unsigned int dev_hint_nargs;
1909 1909
1910module_param(size, charp, 0444); 1910module_param(size, charp, 0444);
1911module_param(fps, int, 0444); 1911module_param(fps, int, 0444);