usb: gadget: fusb300_udc: delete __init marker for probe
authorPeter Chen <peter.chen@freescale.com>
Sun, 18 May 2014 07:19:06 +0000 (15:19 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:32:45 +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/fusb300_udc.c

index 3deb4e9380717386aca6c8638e25f6514d6ec60e..d8e2c0c40106b9e95eb100b9d1c9d17c9f88c3f9 100644 (file)
@@ -1359,7 +1359,7 @@ static int __exit fusb300_remove(struct platform_device *pdev)
        return 0;
 }
 
-static int __init fusb300_probe(struct platform_device *pdev)
+static int fusb300_probe(struct platform_device *pdev)
 {
        struct resource *res, *ires, *ires1;
        void __iomem *reg = NULL;