]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: gadget: m66592-udc: delete __init marker for probe
authorPeter Chen <peter.chen@freescale.com>
Sun, 18 May 2014 07:19:05 +0000 (15:19 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:32:44 +0000 (12:32 -0500)
The probe function may be probed deferal and called after .init
section has freed.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/m66592-udc.c

index 0d17174b86f8bbec733541270cc886ddf74c1d5e..3d6609b5265ef24b495e23c7ca53af61a760f480 100644 (file)
@@ -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;