From: H Hartley Sweeten Date: Thu, 1 Nov 2012 18:10:51 +0000 (-0700) Subject: staging: comedi: addi_apci_1710: remove COMEDI_SUBD_TTLIO define X-Git-Tag: firefly_0821_release~3680^2~1519^2~677 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=65d4919bd08d9cec55b04288198bb2f6e3666a31;p=firefly-linux-kernel-4.4.55.git staging: comedi: addi_apci_1710: remove COMEDI_SUBD_TTLIO define This define exists in hwdrv_APCI1710.c, where it's actually used. Remove the duplicate define. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi_apci_1710.c b/drivers/staging/comedi/drivers/addi_apci_1710.c index 6bfbebeeb20e..a142129e7f7f 100644 --- a/drivers/staging/comedi/drivers/addi_apci_1710.c +++ b/drivers/staging/comedi/drivers/addi_apci_1710.c @@ -19,10 +19,6 @@ static void fpu_end(void) #include "addi-data/addi_eeprom.c" #include "addi-data/hwdrv_APCI1710.c" -#ifndef COMEDI_SUBD_TTLIO -#define COMEDI_SUBD_TTLIO 11 /* Digital Input Output But TTL */ -#endif - static const struct addi_board apci1710_boardtypes[] = { { .pc_DriverName = "apci1710",