staging: comedi: ni_mio_cs: local symbols should not be exported
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 17 Sep 2012 20:15:32 +0000 (13:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 22:03:51 +0000 (15:03 -0700)
The symbol ni_mio_cs_driver is only referenced in this file. Make
it static.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_cs.c

index 9acaad2c582177cd20c0275422f874bc49cca668..ca4f8e06e75bafdf917f469407e6edff58cd82a1 100644 (file)
@@ -421,7 +421,7 @@ MODULE_AUTHOR("David A. Schleef <ds@schleef.org>");
 MODULE_DESCRIPTION("Comedi driver for National Instruments DAQCard E series");
 MODULE_LICENSE("GPL");
 
-struct pcmcia_driver ni_mio_cs_driver = {
+static struct pcmcia_driver ni_mio_cs_driver = {
        .probe = &cs_attach,
        .remove = &cs_detach,
        .suspend = &mio_cs_suspend,