diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-06-13 10:59:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-17 16:45:46 -0400 |
commit | f6a57507f685bb24b83893a12e65623a2fc69489 (patch) | |
tree | a4d320e93b1b012db5e9e4cfd38a5a03ed82eb78 /drivers/usb/chipidea/usbmisc_imx.c | |
parent | a95fd1897378e9533f049f6a3c74ee80cedab947 (diff) |
usb: chipidea: usbmisc_imx: Staticize usbmisc_imx_drv_init/exit
Fix the following sparse warnings:
drivers/usb/chipidea/usbmisc_imx.c:246:5: warning: symbol 'usbmisc_imx_drv_init' was not declared. Should it be static?
drivers/usb/chipidea/usbmisc_imx.c:252:6: warning: symbol 'usbmisc_imx_drv_exit' was not declared. Should it be static?
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/usbmisc_imx.c')
-rw-r--r-- | drivers/usb/chipidea/usbmisc_imx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c index 714a6bd810ed..1c6610acbd3e 100644 --- a/drivers/usb/chipidea/usbmisc_imx.c +++ b/drivers/usb/chipidea/usbmisc_imx.c | |||
@@ -243,13 +243,13 @@ static struct platform_driver usbmisc_imx_driver = { | |||
243 | }, | 243 | }, |
244 | }; | 244 | }; |
245 | 245 | ||
246 | int usbmisc_imx_drv_init(void) | 246 | static int usbmisc_imx_drv_init(void) |
247 | { | 247 | { |
248 | return platform_driver_register(&usbmisc_imx_driver); | 248 | return platform_driver_register(&usbmisc_imx_driver); |
249 | } | 249 | } |
250 | subsys_initcall(usbmisc_imx_drv_init); | 250 | subsys_initcall(usbmisc_imx_drv_init); |
251 | 251 | ||
252 | void usbmisc_imx_drv_exit(void) | 252 | static void usbmisc_imx_drv_exit(void) |
253 | { | 253 | { |
254 | platform_driver_unregister(&usbmisc_imx_driver); | 254 | platform_driver_unregister(&usbmisc_imx_driver); |
255 | } | 255 | } |