Linus Walleij | 94be70d | 2011-09-22 08:22:33 +0200 | [diff] [blame] | 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 |