Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
dfe49c2b
Commit
dfe49c2b
authored
Aug 04, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: finish up the last of MODULE_PARM to module_param conversions
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
60028e60
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
19 deletions
+20
-19
drivers/usb/media/dsbr100.c
drivers/usb/media/dsbr100.c
+1
-1
drivers/usb/media/ibmcam.c
drivers/usb/media/ibmcam.c
+15
-15
drivers/usb/media/ov511.c
drivers/usb/media/ov511.c
+4
-3
No files found.
drivers/usb/media/dsbr100.c
View file @
dfe49c2b
...
...
@@ -107,7 +107,7 @@ static int usb_dsbr100_open(struct inode *inode, struct file *file);
static
int
usb_dsbr100_close
(
struct
inode
*
inode
,
struct
file
*
file
);
static
int
radio_nr
=
-
1
;
MODULE_PARM
(
radio_nr
,
"i"
);
module_param
(
radio_nr
,
int
,
0
);
/* Data for one (physical) device */
typedef
struct
{
...
...
drivers/usb/media/ibmcam.c
View file @
dfe49c2b
...
...
@@ -124,38 +124,38 @@ static int init_model2_yb = -1;
/* Settings for camera model 3 */
static
int
init_model3_input
=
0
;
MODULE_PARM
(
debug
,
"i"
);
module_param
(
debug
,
int
,
0
);
MODULE_PARM_DESC
(
debug
,
"Debug level: 0-9 (default=0)"
);
MODULE_PARM
(
flags
,
"i"
);
module_param
(
flags
,
int
,
0
);
MODULE_PARM_DESC
(
flags
,
"Bitfield: 0=VIDIOCSYNC, 1=B/W, 2=show hints, 3=show stats, 4=test pattern, 5=separate frames, 6=clean frames"
);
MODULE_PARM
(
framerate
,
"i"
);
module_param
(
framerate
,
int
,
0
);
MODULE_PARM_DESC
(
framerate
,
"Framerate setting: 0=slowest, 6=fastest (default=2)"
);
MODULE_PARM
(
lighting
,
"i"
);
module_param
(
lighting
,
int
,
0
);
MODULE_PARM_DESC
(
lighting
,
"Photosensitivity: 0=bright, 1=medium (default), 2=low light"
);
MODULE_PARM
(
sharpness
,
"i"
);
module_param
(
sharpness
,
int
,
0
);
MODULE_PARM_DESC
(
sharpness
,
"Model1 noise reduction: 0=smooth, 6=sharp (default=4)"
);
MODULE_PARM
(
size
,
"i"
);
module_param
(
size
,
int
,
0
);
MODULE_PARM_DESC
(
size
,
"Image size: 0=128x96 1=160x120 2=176x144 3=320x240 4=352x240 5=352x288 6=640x480 (default=5)"
);
MODULE_PARM
(
init_brightness
,
"i"
);
module_param
(
init_brightness
,
int
,
0
);
MODULE_PARM_DESC
(
init_brightness
,
"Brightness preconfiguration: 0-255 (default=128)"
);
MODULE_PARM
(
init_contrast
,
"i"
);
module_param
(
init_contrast
,
int
,
0
);
MODULE_PARM_DESC
(
init_contrast
,
"Contrast preconfiguration: 0-255 (default=192)"
);
MODULE_PARM
(
init_color
,
"i"
);
module_param
(
init_color
,
int
,
0
);
MODULE_PARM_DESC
(
init_color
,
"Color preconfiguration: 0-255 (default=128)"
);
MODULE_PARM
(
init_hue
,
"i"
);
module_param
(
init_hue
,
int
,
0
);
MODULE_PARM_DESC
(
init_hue
,
"Hue preconfiguration: 0-255 (default=128)"
);
MODULE_PARM
(
hue_correction
,
"i"
);
module_param
(
hue_correction
,
int
,
0
);
MODULE_PARM_DESC
(
hue_correction
,
"YUV colorspace regulation: 0-255 (default=128)"
);
MODULE_PARM
(
init_model2_rg2
,
"i"
);
module_param
(
init_model2_rg2
,
int
,
0
);
MODULE_PARM_DESC
(
init_model2_rg2
,
"Model2 preconfiguration: 0-255 (default=47)"
);
MODULE_PARM
(
init_model2_sat
,
"i"
);
module_param
(
init_model2_sat
,
int
,
0
);
MODULE_PARM_DESC
(
init_model2_sat
,
"Model2 preconfiguration: 0-255 (default=52)"
);
MODULE_PARM
(
init_model2_yb
,
"i"
);
module_param
(
init_model2_yb
,
int
,
0
);
MODULE_PARM_DESC
(
init_model2_yb
,
"Model2 preconfiguration: 0-255 (default=160)"
);
/* 01.01.08 - Added for RCA video in support -LO */
MODULE_PARM
(
init_model3_input
,
"i"
);
module_param
(
init_model3_input
,
int
,
0
);
MODULE_PARM_DESC
(
init_model3_input
,
"Model3 input: 0=CCD 1=RCA"
);
MODULE_AUTHOR
(
"Dmitri"
);
...
...
drivers/usb/media/ov511.c
View file @
dfe49c2b
...
...
@@ -182,9 +182,10 @@ 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"
);
/*module_param_array(unit_video, int, OV511_MAX_UNIT_VIDEO, 0); */
/*MODULE_PARM_DESC(unit_video,
"Force use of specific minor number(s). 0 is not allowed."); */
static
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."
);
module_param
(
remove_zeros
,
int
,
0
);
MODULE_PARM_DESC
(
remove_zeros
,
"Remove zero-padding from uncompressed incoming data"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment