From: Peter Chen Date: Sun, 18 May 2014 07:19:02 +0000 (+0800) Subject: usb: gadget: atmel_usba_udc: delete __init marker for probe X-Git-Tag: v3.17-rc1~121^2~18^2~71 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=03d6a9c9aeac8da795a7df52d2b28bed4236e428;p=karo-tx-linux.git usb: gadget: atmel_usba_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/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index 76023ce449a3..906e65f0e4fa 100644 --- a/drivers/usb/gadget/atmel_usba_udc.c +++ b/drivers/usb/gadget/atmel_usba_udc.c @@ -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;