diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-05-18 11:19:06 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 21:32:45 +0400 |
commit | c440380751ba0b85ce9f09cf54619053cadd90e9 (patch) | |
tree | a33fe319797748ab5ec86351ff0e8af58a735d06 /drivers/usb/gadget/fusb300_udc.c | |
parent | 880ce065879a4e5f15e61acfa3beedf3eddedff2 (diff) | |
download | linux-c440380751ba0b85ce9f09cf54619053cadd90e9.tar.xz |
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>
Diffstat (limited to 'drivers/usb/gadget/fusb300_udc.c')
-rw-r--r-- | drivers/usb/gadget/fusb300_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c index 3deb4e938071..d8e2c0c40106 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; |