diff options
Diffstat (limited to 'drivers/mfd/ab5500-debugfs.h')
| -rw-r--r-- | drivers/mfd/ab5500-debugfs.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/mfd/ab5500-debugfs.h b/drivers/mfd/ab5500-debugfs.h new file mode 100644 index 000000000000..7330a9b6afa6 --- /dev/null +++ b/drivers/mfd/ab5500-debugfs.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2011 ST-Ericsson | ||
| 3 | * License terms: GNU General Public License (GPL) version 2 | ||
| 4 | * Debugfs interface to the AB5500 core driver | ||
| 5 | */ | ||
| 6 | |||
| 7 | #ifdef CONFIG_DEBUG_FS | ||
| 8 | |||
| 9 | void ab5500_setup_debugfs(struct ab5500 *ab); | ||
| 10 | void ab5500_remove_debugfs(void); | ||
| 11 | |||
| 12 | #else /* !CONFIG_DEBUG_FS */ | ||
| 13 | |||
| 14 | static inline void ab5500_setup_debugfs(struct ab5500 *ab) | ||
| 15 | { | ||
| 16 | } | ||
| 17 | |||
| 18 | static inline void ab5500_remove_debugfs(void) | ||
| 19 | { | ||
| 20 | } | ||
| 21 | |||
| 22 | #endif | ||
