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:
da15057
)
usb: gadget: lpc32xx: delete __init marker for probe
author
Peter Chen
<peter.chen@freescale.com>
Sun, 18 May 2014 07:19:04 +0000
(15:19 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 30 Jun 2014 17:32:43 +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/lpc32xx_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/lpc32xx_udc.c
b/drivers/usb/gadget/lpc32xx_udc.c
index a93f64b9e632f1626fbd46bdba992bbd1705b55a..1629ad7dcb8086c75ef77f3d88747b931f505064 100644
(file)
--- a/
drivers/usb/gadget/lpc32xx_udc.c
+++ b/
drivers/usb/gadget/lpc32xx_udc.c
@@
-3036,7
+3036,7
@@
struct lpc32xx_usbd_cfg lpc32xx_usbddata = {
static u64 lpc32xx_usbd_dmamask = ~(u32) 0x7F;
-static int
__init
lpc32xx_udc_probe(struct platform_device *pdev)
+static int lpc32xx_udc_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct lpc32xx_udc *udc;