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
2de120ad
Commit
2de120ad
authored
Mar 21, 2003
by
Alan Cox
Committed by
Linus Torvalds
Mar 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] mpu401 uses __init vars during __exit
parent
ad5b67ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sound/oss/mpu401.c
sound/oss/mpu401.c
+4
-4
No files found.
sound/oss/mpu401.c
View file @
2de120ad
...
@@ -1762,13 +1762,13 @@ EXPORT_SYMBOL(mpuintr);
...
@@ -1762,13 +1762,13 @@ EXPORT_SYMBOL(mpuintr);
static
struct
address_info
cfg
;
static
struct
address_info
cfg
;
static
int
__initdata
io
=
-
1
;
static
int
io
=
-
1
;
static
int
__initdata
irq
=
-
1
;
static
int
irq
=
-
1
;
MODULE_PARM
(
irq
,
"i"
);
MODULE_PARM
(
irq
,
"i"
);
MODULE_PARM
(
io
,
"i"
);
MODULE_PARM
(
io
,
"i"
);
int
__init
init_mpu401
(
void
)
static
int
__init
init_mpu401
(
void
)
{
{
int
ret
;
int
ret
;
/* Can be loaded either for module use or to provide functions
/* Can be loaded either for module use or to provide functions
...
@@ -1785,7 +1785,7 @@ int __init init_mpu401(void)
...
@@ -1785,7 +1785,7 @@ int __init init_mpu401(void)
return
0
;
return
0
;
}
}
void
__exit
cleanup_mpu401
(
void
)
static
void
__exit
cleanup_mpu401
(
void
)
{
{
if
(
io
!=
-
1
&&
irq
!=
-
1
)
{
if
(
io
!=
-
1
&&
irq
!=
-
1
)
{
/* Check for use by, for example, sscape driver */
/* Check for use by, for example, sscape driver */
...
...
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