Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jan.koester
Linux
Commits
d16492a9
Commit
d16492a9
authored
16 years ago
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Downloads
Patches
Plain Diff
cs5530: add ->remove method and module_exit()
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
e2b15b47
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/ide/pci/cs5530.c
+7
-0
7 additions, 0 deletions
drivers/ide/pci/cs5530.c
with
7 additions
and
0 deletions
drivers/ide/pci/cs5530.c
+
7
−
0
View file @
d16492a9
...
@@ -269,6 +269,7 @@ static struct pci_driver driver = {
...
@@ -269,6 +269,7 @@ static struct pci_driver driver = {
.
name
=
"CS5530 IDE"
,
.
name
=
"CS5530 IDE"
,
.
id_table
=
cs5530_pci_tbl
,
.
id_table
=
cs5530_pci_tbl
,
.
probe
=
cs5530_init_one
,
.
probe
=
cs5530_init_one
,
.
remove
=
ide_pci_remove
,
};
};
static
int
__init
cs5530_ide_init
(
void
)
static
int
__init
cs5530_ide_init
(
void
)
...
@@ -276,7 +277,13 @@ static int __init cs5530_ide_init(void)
...
@@ -276,7 +277,13 @@ static int __init cs5530_ide_init(void)
return
ide_pci_register_driver
(
&
driver
);
return
ide_pci_register_driver
(
&
driver
);
}
}
static
void
__exit
cs5530_ide_exit
(
void
)
{
pci_unregister_driver
(
&
driver
);
}
module_init
(
cs5530_ide_init
);
module_init
(
cs5530_ide_init
);
module_exit
(
cs5530_ide_exit
);
MODULE_AUTHOR
(
"Mark Lord"
);
MODULE_AUTHOR
(
"Mark Lord"
);
MODULE_DESCRIPTION
(
"PCI driver module for Cyrix/NS 5530 IDE"
);
MODULE_DESCRIPTION
(
"PCI driver module for Cyrix/NS 5530 IDE"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment