From: Peter Chen Date: Sun, 18 May 2014 07:19:05 +0000 (+0800) Subject: usb: gadget: m66592-udc: delete __init marker for probe X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=880ce065879a4e5f15e61acfa3beedf3eddedff2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git usb: gadget: m66592-udc: delete __init marker for probe The probe function may be probed deferal and called after .init section has freed. Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/m66592-udc.c b/drivers/usb/gadget/m66592-udc.c index 0d17174b86f8..3d6609b5265e 100644 --- a/drivers/usb/gadget/m66592-udc.c +++ b/drivers/usb/gadget/m66592-udc.c @@ -1553,7 +1553,7 @@ static void nop_completion(struct usb_ep *ep, struct usb_request *r) { } -static int __init m66592_probe(struct platform_device *pdev) +static int m66592_probe(struct platform_device *pdev) { struct resource *res, *ires; void __iomem *reg = NULL;