nitrox_debugfs.h 462 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __NITROX_DEBUGFS_H
  3. #define __NITROX_DEBUGFS_H
  4. #include "nitrox_dev.h"
  5. #ifdef CONFIG_DEBUG_FS
  6. void nitrox_debugfs_init(struct nitrox_device *ndev);
  7. void nitrox_debugfs_exit(struct nitrox_device *ndev);
  8. #else
  9. static inline void nitrox_debugfs_init(struct nitrox_device *ndev)
  10. {
  11. }
  12. static inline void nitrox_debugfs_exit(struct nitrox_device *ndev)
  13. {
  14. }
  15. #endif /* !CONFIG_DEBUG_FS */
  16. #endif /* __NITROX_DEBUGFS_H */