]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: adv_pci1710: remove "dummy" boardinfo entry
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 22:08:52 +0000 (15:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2012 16:29:22 +0000 (09:29 -0700)
The legacy attach used the "dummy" boardinfo entry to allow
matching a boardinfo to a pci card based on the "name" passed
by the comedi core. This driver now uses the PCI auto config
mechanism which always matches to the PCI vendor/device ids.

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/adv_pci1710.c

index 09fe373b9ab27659e158761befda4334b3021d63..a8825e459c7686e0d852c369627648cfed8cb499 100644 (file)
@@ -52,8 +52,6 @@ Configuration options:
                                 * correct channel number on every 12 bit
                                 * sample */
 
-#define DRV_NAME "adv_pci1710"
-
 #define PCI_VENDOR_ID_ADVANTECH                0x13fe
 
 /* hardware types of the cards */
@@ -293,9 +291,6 @@ static const struct boardtype boardtypes[] = {
                .rangecode_ai   = range_codes_pci17x1,
                .ai_ns_min      = 10000,
                .fifo_half_size = 512,
-       }, {
-               /* dummy entry corresponding to driver name */
-               .name           = DRV_NAME,
        },
 };