Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
eb7cb98b
Commit
eb7cb98b
authored
Jul 24, 2008
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aec62xx: add ->remove method and module_exit()
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
ef0b0427
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
drivers/ide/pci/aec62xx.c
drivers/ide/pci/aec62xx.c
+13
-0
No files found.
drivers/ide/pci/aec62xx.c
View file @
eb7cb98b
...
...
@@ -280,6 +280,12 @@ static int __devinit aec62xx_init_one(struct pci_dev *dev, const struct pci_devi
return
err
;
}
static
void
__devexit
aec62xx_remove
(
struct
pci_dev
*
dev
)
{
ide_pci_remove
(
dev
);
pci_disable_device
(
dev
);
}
static
const
struct
pci_device_id
aec62xx_pci_tbl
[]
=
{
{
PCI_VDEVICE
(
ARTOP
,
PCI_DEVICE_ID_ARTOP_ATP850UF
),
0
},
{
PCI_VDEVICE
(
ARTOP
,
PCI_DEVICE_ID_ARTOP_ATP860
),
1
},
...
...
@@ -294,6 +300,7 @@ static struct pci_driver driver = {
.
name
=
"AEC62xx_IDE"
,
.
id_table
=
aec62xx_pci_tbl
,
.
probe
=
aec62xx_init_one
,
.
remove
=
aec62xx_remove
,
};
static
int
__init
aec62xx_ide_init
(
void
)
...
...
@@ -301,7 +308,13 @@ static int __init aec62xx_ide_init(void)
return
ide_pci_register_driver
(
&
driver
);
}
static
void
__exit
aec62xx_ide_exit
(
void
)
{
pci_unregister_driver
(
&
driver
);
}
module_init
(
aec62xx_ide_init
);
module_exit
(
aec62xx_ide_exit
);
MODULE_AUTHOR
(
"Andre Hedrick"
);
MODULE_DESCRIPTION
(
"PCI driver module for ARTOP AEC62xx IDE"
);
...
...
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