diff options
| author | Bengt Jonsson <bengt.g.jonsson@stericsson.com> | 2012-02-14 07:01:00 -0500 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2013-02-04 03:31:50 -0500 |
| commit | 8f0eb43be5f461a28341fe724686f265b0719dd3 (patch) | |
| tree | b83534be81143dd7b5d2a53c7cfee2d7c7cbdb75 /include/linux/mfd/abx500 | |
| parent | 20bf428329400d3c71be3bdaaa265a485902f90b (diff) | |
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/linux/mfd/abx500')
| -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) | |||
| 347 | 347 | ||
| 348 | #ifdef CONFIG_AB8500_DEBUG | 348 | #ifdef CONFIG_AB8500_DEBUG |
| 349 | void ab8500_dump_all_banks(struct device *dev); | 349 | void ab8500_dump_all_banks(struct device *dev); |
| 350 | void ab8500_debug_register_interrupt(int line); | ||
| 350 | #else | 351 | #else |
| 351 | static inline void ab8500_dump_all_banks(struct device *dev) {} | 352 | static inline void ab8500_dump_all_banks(struct device *dev) {} |
| 353 | static inline void ab8500_debug_register_interrupt(int line) {} | ||
| 352 | #endif | 354 | #endif |
| 353 | 355 | ||
| 354 | #endif /* MFD_AB8500_H */ | 356 | #endif /* MFD_AB8500_H */ |
