diff options
author | Chao Xie <chao.xie@marvell.com> | 2013-01-24 06:38:27 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-24 19:11:33 (GMT) |
commit | 6a6f05f09772dfe2fa0a5a3ec6b786f4a40e7e54 (patch) | |
tree | 1de164536bb864fbba9e2d23bb7784e1ee4b5334 /drivers/usb | |
parent | 3517c31a8ece660aadcbabd4ac98611cedb7af04 (diff) | |
download | linux-6a6f05f09772dfe2fa0a5a3ec6b786f4a40e7e54.tar.xz |
usb: gadget: mv_udc: fix the warning of mv_udc_remove
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/mv_udc_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c index 687b569..ba6b4fb 100644 --- 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, |