diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-05-18 09:19:04 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 19:32:43 +0200 |
commit | b1a7c4f2b1ad0556f12c2a665277ea1320cd76ff (patch) | |
tree | 4670b692803cf8b01ca412ae15eeb2906de5e635 /drivers/usb/gadget/lpc32xx_udc.c | |
parent | usb: gadget: fsl_udc_core: delete __init marker for probe (diff) | |
download | linux-b1a7c4f2b1ad0556f12c2a665277ea1320cd76ff.tar.xz linux-b1a7c4f2b1ad0556f12c2a665277ea1320cd76ff.zip |
usb: gadget: lpc32xx: 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/lpc32xx_udc.c')
-rw-r--r-- | drivers/usb/gadget/lpc32xx_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_udc.c index a93f64b9e632..1629ad7dcb80 100644 --- 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; |