From: H Hartley Sweeten Date: Tue, 11 Nov 2014 23:55:31 +0000 (-0700) Subject: staging: comedi: dmm32at: rename DMM32AT_AUXDOUT X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=02a173eefbdc987e4729abe22399587a78828da6;p=deliverable%2Flinux.git staging: comedi: dmm32at: rename DMM32AT_AUXDOUT For aesthetics, rename this define used for the Auxillary Digital Output register. This register is currently not used in the driver. Document the bits of the register for completeness. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/dmm32at.c b/drivers/staging/comedi/drivers/dmm32at.c index e3981115c7b7..2e5d5a43b1b6 100644 --- a/drivers/staging/comedi/drivers/dmm32at.c +++ b/drivers/staging/comedi/drivers/dmm32at.c @@ -43,7 +43,10 @@ Configuration Options: /* Board register addresses */ #define DMM32AT_AI_START_CONV_REG 0x00 #define DMM32AT_AI_LSB_REG 0x00 -#define DMM32AT_AUXDOUT 0x01 +#define DMM32AT_AUX_DOUT_REG 0x01 +#define DMM32AT_AUX_DOUT2 (1 << 2) /* J3.42 - OUT2 (OUT2EN) */ +#define DMM32AT_AUX_DOUT1 (1 << 1) /* J3.43 */ +#define DMM32AT_AUX_DOUT0 (1 << 0) /* J3.44 - OUT0 (OUT0EN) */ #define DMM32AT_AI_MSB_REG 0x01 #define DMM32AT_AILOW 0x02 #define DMM32AT_AIHIGH 0x03