Only the ADDIDATA_ENABLE define is used from this header. Just
open-code the value to remove the dependency and remove the include.
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>
#include "../comedidev.h"
#include "comedi_fc.h"
-#include "addi-data/addi_common.h"
-
/*
* PCI bar 1 I/O Register map
*/
return -EINVAL;
}
- if (data[1] == ADDIDATA_ENABLE)
+ if (data[1] == 1)
ul_Command |= APCI2032_INT_CTRL_VCC_ENA;
else
ul_Command &= ~APCI2032_INT_CTRL_VCC_ENA;
- if (data[2] == ADDIDATA_ENABLE)
+ if (data[2] == 1)
ul_Command |= APCI2032_INT_CTRL_CC_ENA;
else
ul_Command &= ~APCI2032_INT_CTRL_CC_ENA;