aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab5500-debugfs.h
blob: 7330a9b6afa61aa58fafd73f10df5487755fa8c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (C) 2011 ST-Ericsson
 * License terms: GNU General Public License (GPL) version 2
 * Debugfs interface to the AB5500 core driver
 */

#ifdef CONFIG_DEBUG_FS

void ab5500_setup_debugfs(struct ab5500 *ab);
void ab5500_remove_debugfs(void);

#else /* !CONFIG_DEBUG_FS */

static inline void ab5500_setup_debugfs(struct ab5500 *ab)
{
}

static inline void ab5500_remove_debugfs(void)
{
}

#endif