]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: comedi: daqboard2000: change COMEDI device names
authorIan Abbott <abbotti@mev.co.uk>
Wed, 4 Jan 2017 10:55:46 +0000 (10:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:38:32 +0000 (17:38 +0100)
The COMEDI device name strings are currently set to "ids2" for the
DaqBoard/2000, and to "ids4" for the DaqBoard/2001.  Change them to
"daqboard2000" and "daqboard2001" respectively.  (The COMEDI driver name
string is also "daqboard2000".)

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

index 8f0325ef00125284c257f5aac69ef51e8d3ab43a..5460d138830ad307d243166be38fcd08cf75caff 100644 (file)
@@ -253,12 +253,12 @@ struct db2k_boardtype {
 
 static const struct db2k_boardtype db2k_boardtypes[] = {
        {
-               .name           = "ids2",
+               .name           = "daqboard2000",
                .id             = DB2K_SUBSYSTEM_IDS2,
                .has_2_ao       = true,
        },
        {
-               .name           = "ids4",
+               .name           = "daqboard2001",
                .id             = DB2K_SUBSYSTEM_IDS4,
        },
 };