staging: comedi: s526: define the miscellaneous register and bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 17 Aug 2015 23:58:19 +0000 (16:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:21 +0000 (18:24 -0700)
Define this register and its bits.

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>
drivers/staging/comedi/drivers/s526.c

index 0f56a8988ac6e7f8f88cfa2ccca750adc8985bd1..22724a24200541d5ad1c4870f24309124ec4b6ed 100644 (file)
@@ -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))