staging: comedi: pcl726: rename 'boardtypes'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 25 Sep 2013 22:42:36 +0000 (15:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 16:32:21 +0000 (09:32 -0700)
'boardtypes' is pretty generic, rename this static const variable.

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

index 01f659ea0d1372a134f7a0152ea6f1e16cc15382..152f1db6b8aeae1e10e390fc370a8e5d32bd3120 100644 (file)
@@ -115,7 +115,7 @@ struct pcl726_board {
        unsigned int is_pcl727:1;
 };
 
-static const struct pcl726_board boardtypes[] = {
+static const struct pcl726_board pcl726_boards[] = {
        {
                .name           = "pcl726",
                .io_len         = 0x10,
@@ -443,8 +443,8 @@ static struct comedi_driver pcl726_driver = {
        .module         = THIS_MODULE,
        .attach         = pcl726_attach,
        .detach         = comedi_legacy_detach,
-       .board_name     = &boardtypes[0].name,
-       .num_names      = ARRAY_SIZE(boardtypes),
+       .board_name     = &pcl726_boards[0].name,
+       .num_names      = ARRAY_SIZE(pcl726_boards),
        .offset         = sizeof(struct pcl726_board),
 };
 module_comedi_driver(pcl726_driver);