Commit 0dcee6fe authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_labpc_cs: local symbols should not be exported

The symbol labpc_cs_driver and the functions labpc_init_module()
and labpc_exit_module() are only referenced in this file. Make
them static.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3786d4fb
...@@ -270,7 +270,7 @@ MODULE_AUTHOR("Frank Mori Hess <fmhess@users.sourceforge.net>"); ...@@ -270,7 +270,7 @@ MODULE_AUTHOR("Frank Mori Hess <fmhess@users.sourceforge.net>");
MODULE_DESCRIPTION("Comedi driver for National Instruments Lab-PC"); MODULE_DESCRIPTION("Comedi driver for National Instruments Lab-PC");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
struct pcmcia_driver labpc_cs_driver = { static struct pcmcia_driver labpc_cs_driver = {
.probe = labpc_cs_attach, .probe = labpc_cs_attach,
.remove = labpc_cs_detach, .remove = labpc_cs_detach,
.suspend = labpc_cs_suspend, .suspend = labpc_cs_suspend,
...@@ -291,7 +291,7 @@ static void __exit exit_labpc_cs(void) ...@@ -291,7 +291,7 @@ static void __exit exit_labpc_cs(void)
pcmcia_unregister_driver(&labpc_cs_driver); pcmcia_unregister_driver(&labpc_cs_driver);
} }
int __init labpc_init_module(void) static int __init labpc_init_module(void)
{ {
int ret; int ret;
...@@ -302,7 +302,7 @@ int __init labpc_init_module(void) ...@@ -302,7 +302,7 @@ int __init labpc_init_module(void)
return comedi_driver_register(&driver_labpc_cs); return comedi_driver_register(&driver_labpc_cs);
} }
void __exit labpc_exit_module(void) static void __exit labpc_exit_module(void)
{ {
exit_labpc_cs(); exit_labpc_cs();
comedi_driver_unregister(&driver_labpc_cs); comedi_driver_unregister(&driver_labpc_cs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment