projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
602bd07
)
Staging: slicoss: 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/slicoss/slicoss.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/slicoss/slicoss.c
b/drivers/staging/slicoss/slicoss.c
index 6f5d0bff4358e9fb3f35a9a5a9771bf35dc1d53b..099912685c9852dd5003d5228dd994ba79ecaf39 100644
(file)
--- a/
drivers/staging/slicoss/slicoss.c
+++ b/
drivers/staging/slicoss/slicoss.c
@@
-4049,7
+4049,7
@@
static struct pci_driver slic_driver = {
.name = DRV_NAME,
.id_table = slic_pci_tbl,
.probe = slic_entry_probe,
- .remove =
slic_entry_remove
,
+ .remove =
__devexit_p(slic_entry_remove)
,
};
static int __init slic_module_init(void)