staging: comedi: comedidev.h: add PCI_VENDOR_ID_DT
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 25 Oct 2012 01:12:34 +0000 (18:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 02:38:17 +0000 (19:38 -0700)
Add a define for the Data Translation, Inc. PCI vendor id. Remove
the duplicates in the drivers.

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/comedidev.h
drivers/staging/comedi/drivers/dt3000.c

index fa572073c0f90d483a00485c520573f51d412168..23b13b090c75b999c7370f80f8c56521760344da 100644 (file)
@@ -58,6 +58,7 @@
  * PCI Vendor IDs not in <linux/pci_ids.h>
  */
 #define PCI_VENDOR_ID_ICP              0x104c
+#define PCI_VENDOR_ID_DT               0x1116
 #define PCI_VENDOR_ID_CONTEC           0x1221
 #define PCI_VENDOR_ID_CB               0x1307  /* Measurement Computing */
 #define PCI_VENDOR_ID_ADVANTECH                0x13fe
index 46645759781d141d192cefb57771dd4732188ecc..29e6f8ea67e17edd74082b648c3047a6ad6d5bea 100644 (file)
@@ -65,8 +65,6 @@ AO commands are not supported.
 
 #include "comedi_fc.h"
 
-#define PCI_VENDOR_ID_DT       0x1116
-
 static const struct comedi_lrange range_dt3000_ai = { 4, {
                                                          RANGE(-10, 10),
                                                          RANGE(-5, 5),