diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-05-18 09:19:07 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 19:33:28 +0200 |
commit | dad833823f842bb038abd079da8f7eca9e654f5f (patch) | |
tree | 2185cacc9671f3d71401089612153df29cf7a69f /drivers/usb/gadget/r8a66597-udc.c | |
parent | usb: gadget: fusb300_udc: delete __init marker for probe (diff) | |
download | linux-dad833823f842bb038abd079da8f7eca9e654f5f.tar.xz linux-dad833823f842bb038abd079da8f7eca9e654f5f.zip |
usb: gadget: r8a66597-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/r8a66597-udc.c')
-rw-r--r-- | drivers/usb/gadget/r8a66597-udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c index 6ad60286ceb3..46008421c1ec 100644 --- a/drivers/usb/gadget/r8a66597-udc.c +++ b/drivers/usb/gadget/r8a66597-udc.c @@ -1839,7 +1839,7 @@ static void nop_completion(struct usb_ep *ep, struct usb_request *r) { } -static int __init r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597, +static int r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597, struct platform_device *pdev) { struct resource *res; @@ -1854,7 +1854,7 @@ static int __init r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597, return 0; } -static int __init r8a66597_probe(struct platform_device *pdev) +static int r8a66597_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; char clk_name[8]; |