Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __NITROX_DEBUGFS_H
0003 #define __NITROX_DEBUGFS_H
0004 
0005 #include "nitrox_dev.h"
0006 
0007 #ifdef CONFIG_DEBUG_FS
0008 void nitrox_debugfs_init(struct nitrox_device *ndev);
0009 void nitrox_debugfs_exit(struct nitrox_device *ndev);
0010 #else
0011 static inline void nitrox_debugfs_init(struct nitrox_device *ndev)
0012 {
0013 }
0014 
0015 static inline void nitrox_debugfs_exit(struct nitrox_device *ndev)
0016 {
0017 }
0018 #endif /* !CONFIG_DEBUG_FS */
0019 
0020 #endif /* __NITROX_DEBUGFS_H */