staging: comedi: declare das6402_boards as static
authorMichele Curti <michele.curti@gmail.com>
Thu, 10 Apr 2014 14:38:00 +0000 (16:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 15:29:27 +0000 (08:29 -0700)
das6402_boards array is used in das6402.c only, so declare it as static.

Signed-off-by: Michele Curti <michele.curti@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das6402.c

index e0cfb6cb547b9027db5ae7af3cd83601bce79d24..d18eea6c01aa69a0cf10eb90494b6f617321e628 100644 (file)
@@ -125,7 +125,7 @@ struct das6402_boardinfo {
        unsigned int maxdata;
 };
 
-struct das6402_boardinfo das6402_boards[] = {
+static struct das6402_boardinfo das6402_boards[] = {
        {
                .name           = "das6402-12",
                .maxdata        = 0x0fff,