From: H Hartley Sweeten Date: Mon, 17 Aug 2015 23:58:19 +0000 (-0700) Subject: staging: comedi: s526: define the miscellaneous register and bits X-Git-Tag: firefly_0821_release~176^2~802^2~2291 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=64fe38f49cb2d1335d077f1b9a387177fea22dac;p=firefly-linux-kernel-4.4.55.git staging: comedi: s526: define the miscellaneous register and bits Define this register and its bits. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/s526.c b/drivers/staging/comedi/drivers/s526.c index 0f56a8988ac6..22724a242005 100644 --- a/drivers/staging/comedi/drivers/s526.c +++ b/drivers/staging/comedi/drivers/s526.c @@ -83,8 +83,8 @@ #define S526_INT_AI BIT(2) #define S526_INT_AO BIT(1) #define S526_INT_TIMER BIT(0) -#define REG_MSC 0x10 - +#define S526_MISC_REG 0x10 +#define S526_MISC_LED_OFF BIT(0) #define S526_GPCT_LSB_REG(x) (0x12 + ((x) * 8)) #define S526_GPCT_MSB_REG(x) (0x14 + ((x) * 8)) #define S526_GPCT_MODE_REG(x) (0x16 + ((x) * 8))