debugfs.h 328 B

12345678910111213
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __RAS_DEBUGFS_H__
  3. #define __RAS_DEBUGFS_H__
  4. #include <linux/debugfs.h>
  5. #if IS_ENABLED(CONFIG_DEBUG_FS)
  6. struct dentry *ras_get_debugfs_root(void);
  7. #else
  8. static inline struct dentry *ras_get_debugfs_root(void) { return NULL; }
  9. #endif /* DEBUG_FS */
  10. #endif /* __RAS_DEBUGFS_H__ */