summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-02-25 14:57:35 (GMT)
committerLee Jones <lee.jones@linaro.org>2013-03-07 04:27:47 (GMT)
commit3e1a498f2728476535571d270081a17fdfceaf26 (patch)
tree98666d5be9dd27fb05d65842d5dc4f860bdf22b1 /include/linux/mfd
parent4b106fb9895c7edba2acd41c152e8f6edf724651 (diff)
downloadlinux-fsl-qoriq-3e1a498f2728476535571d270081a17fdfceaf26.tar.xz
mfd: ab8500-core: Add Interrupt support for ab8540
ITSource/ITLatch 7, 8, 9 and 10 don't exist on AB8540. This patch replaces them with '-1' in the interrupt list, and handles the '-1' in the code accordingly. Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/abx500/ab8500.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h
index fdd8be6..b5780fd 100644
--- a/include/linux/mfd/abx500/ab8500.h
+++ b/include/linux/mfd/abx500/ab8500.h
@@ -362,6 +362,7 @@ struct ab8500 {
u8 *oldmask;
int mask_size;
const int *irq_reg_offset;
+ int it_latchhier_num;
};
struct regulator_reg_init;