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:
880ce06
)
usb: gadget: fusb300_udc: delete __init marker for probe
author
Peter Chen
<peter.chen@freescale.com>
Sun, 18 May 2014 07:19:06 +0000
(15:19 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 30 Jun 2014 17:32:45 +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/fusb300_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/fusb300_udc.c
b/drivers/usb/gadget/fusb300_udc.c
index 3deb4e9380717386aca6c8638e25f6514d6ec60e..d8e2c0c40106b9e95eb100b9d1c9d17c9f88c3f9 100644
(file)
--- a/
drivers/usb/gadget/fusb300_udc.c
+++ b/
drivers/usb/gadget/fusb300_udc.c
@@
-1359,7
+1359,7
@@
static int __exit fusb300_remove(struct platform_device *pdev)
return 0;
}
-static int
__init
fusb300_probe(struct platform_device *pdev)
+static int fusb300_probe(struct platform_device *pdev)
{
struct resource *res, *ires, *ires1;
void __iomem *reg = NULL;