projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3517c31
)
usb: gadget: mv_udc: fix the warning of mv_udc_remove
author
Chao Xie
<chao.xie@marvell.com>
Thu, 24 Jan 2013 06:38:27 +0000
(
01:38
-0500)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 24 Jan 2013 19:11:33 +0000
(21:11 +0200)
The __exit_p() will be NULL if MODULE is no defined.
It will cause the warning. Removing __exit_p to remove
the warning.
Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/mv_udc_core.c
b/drivers/usb/gadget/mv_udc_core.c
index 687b569669bfdf05bfbf6e122b5b56cb1773512d..ba6b4fbaad09e24b763a978ee2bcf12ef01147ec 100644
(file)
--- a/
drivers/usb/gadget/mv_udc_core.c
+++ b/
drivers/usb/gadget/mv_udc_core.c
@@
-2461,7
+2461,7
@@
static void mv_udc_shutdown(struct platform_device *pdev)
static struct platform_driver udc_driver = {
.probe = mv_udc_probe,
- .remove =
__exit_p(mv_udc_remove)
,
+ .remove =
mv_udc_remove
,
.shutdown = mv_udc_shutdown,
.driver = {
.owner = THIS_MODULE,