Commit e53b9d6d authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: addi-data: remove duplicate ADDIDATA_{ENABLE,DISABLE} defines



These are defined in addi_common.h, the hwdrv_* files do not need
to redefined them.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 91952b78
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -96,10 +96,6 @@ You should also find the complete GPL in the COPYING file accompanying this sour
#define ADDIDATA_UNIPOLAR		1
#define ADDIDATA_BIPOLAR		2

/* ADDIDATA Enable Disable */
#define ADDIDATA_ENABLE			1
#define ADDIDATA_DISABLE		0

/* ANALOG INPUT RANGE */
static struct comedi_lrange range_apci035_ai = {
	8, {
+0 −4
Original line number Diff line number Diff line
@@ -67,10 +67,6 @@ You should also find the complete GPL in the COPYING file accompanying this sour
#define APCI1032_DIGITAL_IP_INTERRUPT_ENABLE	0x4
#define APCI1032_DIGITAL_IP_INTERRUPT_DISABLE	0xfffffffb

/* ADDIDATA Enable Disable */
#define ADDIDATA_ENABLE				1
#define ADDIDATA_DISABLE			0

static unsigned int ui_InterruptStatus;

/*
+0 −5
Original line number Diff line number Diff line
@@ -83,11 +83,6 @@ You should also find the complete GPL in the COPYING file accompanying this sour
#define APCI1564_DIGITAL_OP_CC_INTERRUPT_ENABLE		0x2
#define APCI1564_DIGITAL_OP_CC_INTERRUPT_DISABLE	0xfffffffd

/* ADDIDATA Enable Disable */

#define ADDIDATA_ENABLE					1
#define ADDIDATA_DISABLE				0

/* TIMER COUNTER WATCHDOG DEFINES */

#define ADDIDATA_TIMER					0
+0 −5
Original line number Diff line number Diff line
@@ -51,11 +51,6 @@ You should also find the complete GPL in the COPYING file accompanying this sour
#define COMEDI_SUBD_TTLIO		11 /* Digital Input Output But TTL */
#endif

#ifndef ADDIDATA_ENABLE
#define ADDIDATA_ENABLE			1
#define ADDIDATA_DISABLE		0
#endif

#define APCI16XX_TTL_INIT		0
#define APCI16XX_TTL_INITDIRECTION	1
#define APCI16XX_TTL_OUTPUTMEMORY	2
+0 −5
Original line number Diff line number Diff line
@@ -55,11 +55,6 @@ You should also find the complete GPL in the COPYING file accompanying this sour
#define APCI2016_DIGITAL_OP		0x04
#define APCI2016_DIGITAL_OP_RW		4

/* ADDIDATA Enable Disable */

#define ADDIDATA_ENABLE			1
#define ADDIDATA_DISABLE		0

/* TIMER COUNTER WATCHDOG DEFINES */

#define ADDIDATA_WATCHDOG		2
Loading