summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-05-18 15:19:06 +0800
committerFelipe Balbi <balbi@ti.com>2014-06-30 12:32:45 -0500
commitc440380751ba0b85ce9f09cf54619053cadd90e9 (patch)
treea33fe319797748ab5ec86351ff0e8af58a735d06
parent880ce065879a4e5f15e61acfa3beedf3eddedff2 (diff)
usb: gadget: fusb300_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>
-rw-r--r--drivers/usb/gadget/fusb300_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c
index 3deb4e93807..d8e2c0c4010 100644
--- 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;