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:
a455212
)
USB: isp1760: use __devexit_p() for remove function
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 12 Jun 2009 01:59:00 +0000
(21:59 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 12 Jul 2009 22:16:36 +0000
(15:16 -0700)
The isp1760_plat_remove function is declared with __devexit, so the
.remove assignment needs to be wrapped with __devexit_p().
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-if.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/isp1760-if.c
b/drivers/usb/host/isp1760-if.c
index 3fa3a17027963af75a2d15d5c5da7990b7c5fc7f..d4feebfc63bd1b51088a9e22cc618db1eb0f092b 100644
(file)
--- a/
drivers/usb/host/isp1760-if.c
+++ b/
drivers/usb/host/isp1760-if.c
@@
-361,7
+361,7
@@
static int __devexit isp1760_plat_remove(struct platform_device *pdev)
static struct platform_driver isp1760_plat_driver = {
.probe = isp1760_plat_probe,
- .remove =
isp1760_plat_remove
,
+ .remove =
__devexit_p(isp1760_plat_remove)
,
.driver = {
.name = "isp1760",
},