diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/rc5t583.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/rc5t583.h b/include/linux/mfd/rc5t583.h index 36c242e52ef1..fd413ccab915 100644 --- a/include/linux/mfd/rc5t583.h +++ b/include/linux/mfd/rc5t583.h | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | /* Maximum number of main interrupts */ | 33 | /* Maximum number of main interrupts */ |
| 34 | #define MAX_MAIN_INTERRUPT 5 | 34 | #define MAX_MAIN_INTERRUPT 5 |
| 35 | #define RC5T583_MAX_GPEDGE_REG 2 | 35 | #define RC5T583_MAX_GPEDGE_REG 2 |
| 36 | #define RC5T583_MAX_INTERRUPT_EN_REGS 8 | ||
| 36 | #define RC5T583_MAX_INTERRUPT_MASK_REGS 9 | 37 | #define RC5T583_MAX_INTERRUPT_MASK_REGS 9 |
| 37 | 38 | ||
| 38 | /* Interrupt enable register */ | 39 | /* Interrupt enable register */ |
| @@ -304,7 +305,7 @@ struct rc5t583 { | |||
| 304 | uint8_t intc_inten_reg; | 305 | uint8_t intc_inten_reg; |
| 305 | 306 | ||
| 306 | /* For group interrupt bits and address */ | 307 | /* For group interrupt bits and address */ |
| 307 | uint8_t irq_en_reg[RC5T583_MAX_INTERRUPT_MASK_REGS]; | 308 | uint8_t irq_en_reg[RC5T583_MAX_INTERRUPT_EN_REGS]; |
| 308 | 309 | ||
| 309 | /* For gpio edge */ | 310 | /* For gpio edge */ |
| 310 | uint8_t gpedge_reg[RC5T583_MAX_GPEDGE_REG]; | 311 | uint8_t gpedge_reg[RC5T583_MAX_GPEDGE_REG]; |
