2019-06-05 13:21:53 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2018-12-04 12:55:54 +00:00
|
|
|
#ifndef __NITROX_DEBUGFS_H
|
|
|
|
#define __NITROX_DEBUGFS_H
|
|
|
|
|
|
|
|
#include "nitrox_dev.h"
|
|
|
|
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
2019-01-22 15:14:20 +00:00
|
|
|
void nitrox_debugfs_init(struct nitrox_device *ndev);
|
2018-12-04 12:55:54 +00:00
|
|
|
void nitrox_debugfs_exit(struct nitrox_device *ndev);
|
|
|
|
#else
|
2019-01-22 15:14:20 +00:00
|
|
|
static inline void nitrox_debugfs_init(struct nitrox_device *ndev)
|
2018-12-04 12:55:54 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-12-16 23:00:30 +00:00
|
|
|
static inline void nitrox_debugfs_exit(struct nitrox_device *ndev)
|
2018-12-04 12:55:54 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif /* !CONFIG_DEBUG_FS */
|
|
|
|
|
|
|
|
#endif /* __NITROX_DEBUGFS_H */
|