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)
8struct dentry *ras_get_debugfs_root(void);
9#else
10static inline struct dentry *ras_get_debugfs_root(void) { return NULL; }
11#endif /* DEBUG_FS */
12
13#endif /* __RAS_DEBUGFS_H__ */
14

source code of linux/drivers/ras/debugfs.h