]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
usb: gadget: r8a66597-udc: delete __init marker for probe
authorPeter Chen <peter.chen@freescale.com>
Sun, 18 May 2014 07:19:07 +0000 (15:19 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:33:28 +0000 (12:33 -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/r8a66597-udc.c

index 6ad60286ceb30cfb4739ae1cec94b0112c20230c..46008421c1ec8fad66dca295174460255150e51b 100644 (file)
@@ -1839,7 +1839,7 @@ static void nop_completion(struct usb_ep *ep, struct usb_request *r)
 {
 }
 
-static int __init r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597,
+static int r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597,
                                          struct platform_device *pdev)
 {
        struct resource *res;
@@ -1854,7 +1854,7 @@ static int __init r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597,
        return 0;
 }
 
-static int __init r8a66597_probe(struct platform_device *pdev)
+static int r8a66597_probe(struct platform_device *pdev)
 {
        struct device *dev = &pdev->dev;
        char clk_name[8];