Skip to content

Commit

Permalink
staging: comedi: comedidev.h: add PCI_VENDOR_ID_DT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 25, 2012
1 parent 64f2f93 commit f656ef5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions drivers/staging/comedi/comedidev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/comedi/drivers/dt3000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f656ef5

Please sign in to comment.