This driver abuses the enum comedi_subdevice_type by redefining
enum 11 - COMEDI_SUBD_SERIAL as COMEDI_SUBD_TTLIO. The subdevice
that uses COMEDI_SUBD_TTLIO is a TTL Digital Input/Output subdevice.
Remove COMEDI_SUBD_TTLIO and just use COMEDI_SUBD_DIO as the
subdevice type.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
   +----------+-----------+------------------------------------------------+
 */
 
-#ifndef COMEDI_SUBD_TTLIO
-#define COMEDI_SUBD_TTLIO      11      /* Digital Input Output But TTL */
-#endif
-
 #define APCI3XXX_SINGLE                                0
 #define APCI3XXX_DIFF                          1
 #define APCI3XXX_CONFIGURATION                 0
 
 #include "comedi_fc.h"
 #include "amcc_s5933.h"
 
-#ifndef COMEDI_SUBD_TTLIO
-#define COMEDI_SUBD_TTLIO   11 /* Digital Input Output But TTL */
-#endif
-
 static const struct comedi_lrange apci3xxx_ai_range = {
        8, {
                BIP_RANGE(10),
        /*  Allocate and Initialise TTL */
        s = &dev->subdevices[5];
        if (board->i_NbrTTLChannel) {
-               s->type = COMEDI_SUBD_TTLIO;
+               s->type = COMEDI_SUBD_DIO;
                s->subdev_flags =
                        SDF_WRITEABLE | SDF_READABLE | SDF_GROUND | SDF_COMMON;
                s->n_chan = board->i_NbrTTLChannel;