From: Chao Xie Date: Thu, 24 Jan 2013 06:38:27 +0000 (-0500) Subject: usb: gadget: mv_udc: fix the warning of mv_udc_remove X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a6f05f09772dfe2fa0a5a3ec6b786f4a40e7e54;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c index 687b569669bf..ba6b4fbaad09 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,