aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/isp1362-hcd.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-08 20:16:39 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-16 16:36:41 -0500
commitf52022b53bac3228620e490abbe2ccb1e87ab060 (patch)
tree8b07a4827f0218ee7d5daf6d763bec80927615ca /drivers/usb/host/isp1362-hcd.c
parent3d091a6f703906c5680855ff29bd94d051c8c6d8 (diff)
USB: isp1362-hcd - fix section mismatch warning
Fix section mismatch warning by using "__devinit" annotation for isp1362_probe. WARNING: drivers/usb/host/isp1362-hcd.o(.data+0x0): Section mismatch in reference from the variable isp1362_driver to the function .init.text:isp1362_probe() The variable isp1362_driver references the function __init isp1362_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp1362-hcd.c')
-rw-r--r--drivers/usb/host/isp1362-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c
index 8196fa11fec4..97cce59ff767 100644
--- a/drivers/usb/host/isp1362-hcd.c
+++ b/drivers/usb/host/isp1362-hcd.c
@@ -2684,7 +2684,7 @@ static int __devexit isp1362_remove(struct platform_device *pdev)
2684 return 0; 2684 return 0;
2685} 2685}
2686 2686
2687static int __init isp1362_probe(struct platform_device *pdev) 2687static int __devinit isp1362_probe(struct platform_device *pdev)
2688{ 2688{
2689 struct usb_hcd *hcd; 2689 struct usb_hcd *hcd;
2690 struct isp1362_hcd *isp1362_hcd; 2690 struct isp1362_hcd *isp1362_hcd;