From: H Hartley Sweeten Date: Fri, 7 Aug 2015 18:45:04 +0000 (-0700) Subject: staging: comedi: addi_apci_1564: define the APCI1564_DO_INT_STATUS_REG bits X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fa1219e03e73fb1ebba87eeb2aa1edbea518622d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: comedi: addi_apci_1564: define the APCI1564_DO_INT_STATUS_REG bits Define the bits in this register. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi_apci_1564.c b/drivers/staging/comedi/drivers/addi_apci_1564.c index 873e329f4bfd..3e8377a3b67b 100644 --- a/drivers/staging/comedi/drivers/addi_apci_1564.c +++ b/drivers/staging/comedi/drivers/addi_apci_1564.c @@ -84,6 +84,8 @@ #define APCI1564_DO_INT_CTRL_CC_INT_ENA BIT(1) #define APCI1564_DO_INT_CTRL_VCC_INT_ENA BIT(0) #define APCI1564_DO_INT_STATUS_REG 0x1c +#define APCI1564_DO_INT_STATUS_CC BIT(1) +#define APCI1564_DO_INT_STATUS_VCC BIT(0) #define APCI1564_DO_IRQ_REG 0x20 #define APCI1564_WDOG_REG 0x24 #define APCI1564_WDOG_RELOAD_REG 0x28