aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd/abx500
diff options
context:
space:
mode:
authorGravatar Lee Jones <lee.jones@linaro.org> 2013-02-25 14:57:35 +0000
committerGravatar Lee Jones <lee.jones@linaro.org> 2013-03-07 12:27:47 +0800
commit3e1a498f2728476535571d270081a17fdfceaf26 (patch)
tree98666d5be9dd27fb05d65842d5dc4f860bdf22b1 /include/linux/mfd/abx500
parentmfd: ab8500-core: Rework MFD sub-device initialisation structures (diff)
downloadlinux-3e1a498f2728476535571d270081a17fdfceaf26.tar.gz
linux-3e1a498f2728476535571d270081a17fdfceaf26.tar.bz2
linux-3e1a498f2728476535571d270081a17fdfceaf26.zip
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/abx500')
-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 fdd8be64feeb..b5780fd40fe4 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;