aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/abx500/ab8500.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h
index 79892585c087..55eabe8b6ce6 100644
--- a/include/linux/mfd/abx500/ab8500.h
+++ b/include/linux/mfd/abx500/ab8500.h
@@ -175,6 +175,9 @@ enum ab8500_version {
175 * @tx_buf: tx buf for SPI 175 * @tx_buf: tx buf for SPI
176 * @mask: cache of IRQ regs for bus lock 176 * @mask: cache of IRQ regs for bus lock
177 * @oldmask: cache of previous IRQ regs for bus lock 177 * @oldmask: cache of previous IRQ regs for bus lock
178 * @mask_size: Actual number of valid entries in mask[], oldmask[] and
179 * irq_reg_offset
180 * @irq_reg_offset: Array of offsets into IRQ registers
178 */ 181 */
179struct ab8500 { 182struct ab8500 {
180 struct device *dev; 183 struct device *dev;
@@ -192,8 +195,10 @@ struct ab8500 {
192 unsigned long tx_buf[4]; 195 unsigned long tx_buf[4];
193 unsigned long rx_buf[4]; 196 unsigned long rx_buf[4];
194 197
195 u8 mask[AB8500_NUM_IRQ_REGS]; 198 u8 *mask;
196 u8 oldmask[AB8500_NUM_IRQ_REGS]; 199 u8 *oldmask;
200 int mask_size;
201 const int *irq_reg_offset;
197}; 202};
198 203
199struct regulator_reg_init; 204struct regulator_reg_init;