blob: 0baa4dbd6e361103ab9e3bfc47cf44ce3b699767 [file] [log] [blame]
/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _SPMI_DBGFS_H
#define _SPMI_DBGFS_H
#ifdef CONFIG_DEBUG_FS
int spmi_dfs_add_controller(struct spmi_controller *ctrl);
#else
int spmi_dfs_add_controller(struct spmi_controller *ctrl) { return 0; }
#endif
#endif /* _SPMI_DBGFS_H */