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