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
Kirill Smelkov
linux
Commits
95bbe328
Commit
95bbe328
authored
Nov 14, 2004
by
Jeff Garzik
Committed by
Linus Torvalds
Nov 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sound/oss] use module_param() in soundcard.c and uart401.c
parent
f6e2d606
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
sound/oss/soundcard.c
sound/oss/soundcard.c
+2
-2
sound/oss/uart401.c
sound/oss/uart401.c
+4
-4
No files found.
sound/oss/soundcard.c
View file @
95bbe328
...
...
@@ -535,8 +535,8 @@ static const struct {
static
int
dmabuf
;
static
int
dmabug
;
MODULE_PARM
(
dmabuf
,
"i"
);
MODULE_PARM
(
dmabug
,
"i"
);
module_param
(
dmabuf
,
int
,
0444
);
module_param
(
dmabug
,
int
,
0444
);
static
int
__init
oss_init
(
void
)
{
...
...
sound/oss/uart401.c
View file @
95bbe328
...
...
@@ -430,11 +430,11 @@ EXPORT_SYMBOL(uart401intr);
static
struct
address_info
cfg_mpu
;
static
int
__initdata
io
=
-
1
;
static
int
__initdata
irq
=
-
1
;
static
int
io
=
-
1
;
static
int
irq
=
-
1
;
MODULE_PARM
(
io
,
"i"
);
MODULE_PARM
(
irq
,
"i"
);
module_param
(
io
,
int
,
0444
);
module_param
(
irq
,
int
,
0444
);
static
int
__init
init_uart401
(
void
)
...
...
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