linux/drivers/ras/debugfs.h
Borislav Petkov (AMD) 9d2b6fa09d RAS: Export helper to get ras_debugfs_dir
Export a getter instead of the debugfs node directly so that, other
in-tree-only RAS modules can use it.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Link: https://lore.kernel.org/r/20240301143748.854090-2-yazen.ghannam@amd.com
2024-03-01 16:55:10 +01:00

10 lines
195 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __RAS_DEBUGFS_H__
#define __RAS_DEBUGFS_H__
#include <linux/debugfs.h>
struct dentry *ras_get_debugfs_root(void);
#endif /* __RAS_DEBUGFS_H__ */