Browse Source

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>
Peter Chen 11 years ago
parent
commit
c440380751
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/gadget/fusb300_udc.c

+ 1 - 1
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;