summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 15:38:19 +0100
committerFelipe Balbi <balbi@ti.com>2013-03-18 10:16:48 +0100
commit2cd807e7a8ee18d13fd06e84ef9f485a5c28a521 (patch)
tree56068f1f9a0d3a8581ddcfb498b46f6d92ef8d8b /drivers
parentusb: gadget: mv_u3d_core: let udc-core manage gadget->dev (diff)
downloadlinux-2cd807e7a8ee18d13fd06e84ef9f485a5c28a521.tar.xz
linux-2cd807e7a8ee18d13fd06e84ef9f485a5c28a521.zip
usb: gadget: mv_u3d_core: fix a compile warning
Fix the following compile warning: mv_u3d_core.c:1766:12: warning: 'mv_u3d_remove' \ defined but not used [-Wunused-function] Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/mv_u3d_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/mv_u3d_core.c b/drivers/usb/gadget/mv_u3d_core.c
index 565addcd3956..734ade11505f 100644
--- a/drivers/usb/gadget/mv_u3d_core.c
+++ b/drivers/usb/gadget/mv_u3d_core.c
@@ -2072,7 +2072,7 @@ static void mv_u3d_shutdown(struct platform_device *dev)
static struct platform_driver mv_u3d_driver = {
.probe = mv_u3d_probe,
- .remove = __exit_p(mv_u3d_remove),
+ .remove = mv_u3d_remove,
.shutdown = mv_u3d_shutdown,
.driver = {
.owner = THIS_MODULE,