blob: 0baa4dbd6e361103ab9e3bfc47cf44ce3b699767 [file] [log] [blame]
Kenneth Heitke98661912012-09-19 18:51:40 -06001/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12#ifndef _SPMI_DBGFS_H
13#define _SPMI_DBGFS_H
14
15#ifdef CONFIG_DEBUG_FS
16int spmi_dfs_add_controller(struct spmi_controller *ctrl);
17#else
18int spmi_dfs_add_controller(struct spmi_controller *ctrl) { return 0; }
19#endif
20
21#endif /* _SPMI_DBGFS_H */