summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-05-18 15:19:05 +0800
committerFelipe Balbi <balbi@ti.com>2014-06-30 12:32:44 -0500
commit880ce065879a4e5f15e61acfa3beedf3eddedff2 (patch)
tree140f6e9fe64c961a381de9cdefd3ee7c376445d7 /drivers/usb/gadget
parentb1a7c4f2b1ad0556f12c2a665277ea1320cd76ff (diff)
downloadlinux-880ce065879a4e5f15e61acfa3beedf3eddedff2.tar.gz
linux-880ce065879a4e5f15e61acfa3beedf3eddedff2.tar.bz2
linux-880ce065879a4e5f15e61acfa3beedf3eddedff2.zip
usb: gadget: m66592-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')
-rw-r--r--drivers/usb/gadget/m66592-udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/m66592-udc.c b/drivers/usb/gadget/m66592-udc.c
index 0d17174b86f8..3d6609b5265e 100644
--- a/drivers/usb/gadget/m66592-udc.c
+++ b/drivers/usb/gadget/m66592-udc.c
@@ -1553,7 +1553,7 @@ static void nop_completion(struct usb_ep *ep, struct usb_request *r)
{
}
-static int __init m66592_probe(struct platform_device *pdev)
+static int m66592_probe(struct platform_device *pdev)
{
struct resource *res, *ires;
void __iomem *reg = NULL;