2019-06-05 18:51:53 +05:30
|
|
|
/* 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 16:14:20 +01: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 16:14:20 +01:00
|
|
|
static inline void nitrox_debugfs_init(struct nitrox_device *ndev)
|
2018-12-04 12:55:54 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-12-16 15:00:30 -08: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 */
|