aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-09-11 18:08:52 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-12 12:29:22 -0400
commit60a63228c80dd01694a7961d349350d87bed82d9 (patch)
tree328f0ca553e342250254732480d8bb318eecced5
parent398e6f1230160e614ef0f878725cdd5f51fda8cd (diff)
staging: comedi: adv_pci1710: remove "dummy" boardinfo entry
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>
-rw-r--r--drivers/staging/comedi/drivers/adv_pci1710.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/drivers/staging/comedi/drivers/adv_pci1710.c
index 09fe373b9ab2..a8825e459c76 100644
--- a/drivers/staging/comedi/drivers/adv_pci1710.c
+++ b/drivers/staging/comedi/drivers/adv_pci1710.c
@@ -52,8 +52,6 @@ Configuration options:
52 * correct channel number on every 12 bit 52 * correct channel number on every 12 bit
53 * sample */ 53 * sample */
54 54
55#define DRV_NAME "adv_pci1710"
56
57#define PCI_VENDOR_ID_ADVANTECH 0x13fe 55#define PCI_VENDOR_ID_ADVANTECH 0x13fe
58 56
59/* hardware types of the cards */ 57/* hardware types of the cards */
@@ -293,9 +291,6 @@ static const struct boardtype boardtypes[] = {
293 .rangecode_ai = range_codes_pci17x1, 291 .rangecode_ai = range_codes_pci17x1,
294 .ai_ns_min = 10000, 292 .ai_ns_min = 10000,
295 .fifo_half_size = 512, 293 .fifo_half_size = 512,
296 }, {
297 /* dummy entry corresponding to driver name */
298 .name = DRV_NAME,
299 }, 294 },
300}; 295};
301 296