]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: gadget: atmel_usba_udc: delete __init marker for probe
authorPeter Chen <peter.chen@freescale.com>
Sun, 18 May 2014 07:19:02 +0000 (15:19 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:32:42 +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/atmel_usba_udc.c

index 76023ce449a39cd82db862719f7392d36b4deb57..906e65f0e4fa7b8c225e4c75ad80666b6dd78085 100644 (file)
@@ -1979,7 +1979,7 @@ static struct usba_ep * usba_udc_pdata(struct platform_device *pdev,
        return eps;
 }
 
-static int __init usba_udc_probe(struct platform_device *pdev)
+static int usba_udc_probe(struct platform_device *pdev)
 {
        struct resource *regs, *fifo;
        struct clk *pclk, *hclk;