mfd: twl-core: add atomic read-modify-write function
[pandora-kernel.git] / drivers / mfd / ab5500-debugfs.h
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