aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-02-20 10:25:14 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 14:24:55 -0400
commit302beda9830f656c98afb25e26e94602b7a83fea (patch)
tree9becdbb36b4c5cb82454390f029a63c94ad26085 /drivers/usb
parent901cb2ab2c9aaeb16304ff99ebc4af968893c8ec (diff)
usb: chipidea: usbmisc_imx6q: Staticize usbmisc_imx6q_drv_init/exit()
Staticize usbmisc_imx6q_drv_init/exit() to fix the following sparse warnings: drivers/usb/chipidea/usbmisc_imx6q.c:147:12: warning: symbol 'usbmisc_imx6q_drv_init' was not declared. Should it be static? drivers/usb/chipidea/usbmisc_imx6q.c:153:13: warning: symbol 'usbmisc_imx6q_drv_exit' was not declared. Should it be static? Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/chipidea/usbmisc_imx6q.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/usbmisc_imx6q.c b/drivers/usb/chipidea/usbmisc_imx6q.c
index a1bce391e825..113fcea77bdf 100644
--- a/drivers/usb/chipidea/usbmisc_imx6q.c
+++ b/drivers/usb/chipidea/usbmisc_imx6q.c
@@ -144,13 +144,13 @@ static struct platform_driver usbmisc_imx6q_driver = {
144 }, 144 },
145}; 145};
146 146
147int __init usbmisc_imx6q_drv_init(void) 147static int __init usbmisc_imx6q_drv_init(void)
148{ 148{
149 return platform_driver_register(&usbmisc_imx6q_driver); 149 return platform_driver_register(&usbmisc_imx6q_driver);
150} 150}
151subsys_initcall(usbmisc_imx6q_drv_init); 151subsys_initcall(usbmisc_imx6q_drv_init);
152 152
153void __exit usbmisc_imx6q_drv_exit(void) 153static void __exit usbmisc_imx6q_drv_exit(void)
154{ 154{
155 platform_driver_unregister(&usbmisc_imx6q_driver); 155 platform_driver_unregister(&usbmisc_imx6q_driver);
156} 156}