diff options
author | Bengt Jonsson <bengt.g.jonsson@stericsson.com> | 2012-02-14 13:01:00 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-02-04 08:31:50 +0000 |
commit | 8f0eb43be5f461a28341fe724686f265b0719dd3 (patch) | |
tree | b83534be81143dd7b5d2a53c7cfee2d7c7cbdb75 /include | |
parent | 20bf428329400d3c71be3bdaaa265a485902f90b (diff) | |
download | linux-stable-8f0eb43be5f461a28341fe724686f265b0719dd3.tar.gz linux-stable-8f0eb43be5f461a28341fe724686f265b0719dd3.tar.bz2 linux-stable-8f0eb43be5f461a28341fe724686f265b0719dd3.zip |
mfd: ab8500-debugfs: Add interrupt debug
This patch adds an entry in debugfs to check number of interrupts
from the AB.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/abx500/ab8500.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h index dbec7b00ea83..fa7173dd71f2 100644 --- a/include/linux/mfd/abx500/ab8500.h +++ b/include/linux/mfd/abx500/ab8500.h @@ -347,8 +347,10 @@ static inline int is_ab8500_2p0(struct ab8500 *ab) #ifdef CONFIG_AB8500_DEBUG void ab8500_dump_all_banks(struct device *dev); +void ab8500_debug_register_interrupt(int line); #else static inline void ab8500_dump_all_banks(struct device *dev) {} +static inline void ab8500_debug_register_interrupt(int line) {} #endif #endif /* MFD_AB8500_H */ |