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
91576b06
Commit
91576b06
authored
Apr 07, 2003
by
Alan Cox
Committed by
Linus Torvalds
Apr 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] cs4232 should be devexit
parent
4a6605fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sound/oss/cs4232.c
sound/oss/cs4232.c
+3
-3
No files found.
sound/oss/cs4232.c
View file @
91576b06
...
...
@@ -313,7 +313,7 @@ void __init attach_cs4232(struct address_info *hw_config)
}
}
static
void
__exit
unload_cs4232
(
struct
address_info
*
hw_config
)
static
void
__
dev
exit
unload_cs4232
(
struct
address_info
*
hw_config
)
{
int
base
=
hw_config
->
io_base
,
irq
=
hw_config
->
irq
;
int
dma1
=
hw_config
->
dma
,
dma2
=
hw_config
->
dma2
;
...
...
@@ -428,7 +428,7 @@ static int cs4232_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev
return
0
;
}
static
void
cs4232_pnp_remove
(
struct
pnp_dev
*
dev
)
static
void
__devexit
cs4232_pnp_remove
(
struct
pnp_dev
*
dev
)
{
struct
address_info
*
cfg
=
pnp_get_drvdata
(
dev
);
if
(
cfg
)
{
...
...
@@ -441,7 +441,7 @@ static struct pnp_driver cs4232_driver = {
.
name
=
"cs4232"
,
.
id_table
=
cs4232_pnp_table
,
.
probe
=
cs4232_pnp_probe
,
.
remove
=
cs4232_pnp_remove
,
.
remove
=
__devexit_p
(
cs4232_pnp_remove
)
,
};
static
int
__init
init_cs4232
(
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