summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-05-18 15:19:02 +0800
committerFelipe Balbi <balbi@ti.com>2014-06-30 12:32:42 -0500
commit03d6a9c9aeac8da795a7df52d2b28bed4236e428 (patch)
treef8ee8340f403c2dd2511bced274ce155100c77ba /drivers/usb/gadget
parent0e1e5c47f7a92853a92ef97494fb4fee26d333ac (diff)
downloadlinux-03d6a9c9aeac8da795a7df52d2b28bed4236e428.tar.gz
linux-03d6a9c9aeac8da795a7df52d2b28bed4236e428.tar.bz2
linux-03d6a9c9aeac8da795a7df52d2b28bed4236e428.zip
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 <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/atmel_usba_udc.c2
1 files changed, 1 insertions, 1 deletions
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;