projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e1e5c4
)
usb: gadget: atmel_usba_udc: delete __init marker for probe
author
Peter Chen
<peter.chen@freescale.com>
Sun, 18 May 2014 07:19:02 +0000
(15:19 +0800)
committer
Felipe 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/atmel_usba_udc.c
b/drivers/usb/gadget/atmel_usba_udc.c
index 76023ce449a39cd82db862719f7392d36b4deb57..906e65f0e4fa7b8c225e4c75ad80666b6dd78085 100644
(file)
--- 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;