OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afcf462
)
Staging: altpciechdma: Add missing __devexit_p()
author
Jean Delvare
<khali@linux-fr.org>
Thu, 4 Jun 2009 11:35:15 +0000
(13:35 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 19 Jun 2009 18:00:55 +0000
(11:00 -0700)
The remove function uses __devexit, so the .remove assignment needs
__devexit_p() to fix a build error with hotplug disabled.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/altpciechdma/altpciechdma.c
patch
|
blob
|
history
diff --git
a/drivers/staging/altpciechdma/altpciechdma.c
b/drivers/staging/altpciechdma/altpciechdma.c
index
f5004d3
..
ac9728e
100644
(file)
--- a/
drivers/staging/altpciechdma/altpciechdma.c
+++ b/
drivers/staging/altpciechdma/altpciechdma.c
@@
-1143,7
+1143,7
@@
static struct pci_driver pci_driver = {
.name = DRV_NAME,
.id_table = ids,
.probe = probe,
- .remove =
remove
,
+ .remove =
__devexit_p(remove)
,
/* resume, suspend are optional */
};