diff options
author | Borislav Petkov (AMD) <bp@alien8.de> | 2024-03-01 08:37:46 -0600 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-03-01 16:55:10 +0100 |
commit | 9d2b6fa09d15d021fb83ec6f1336176ebaebbeec (patch) | |
tree | 31797afc1d79560dc0b72e54f5286256f6a91c38 /drivers/ras/debugfs.h | |
parent | dd61b55d733eee9bbe51abe7ab0e6f2ce1fae332 (diff) | |
download | lwn-9d2b6fa09d15d021fb83ec6f1336176ebaebbeec.tar.gz lwn-9d2b6fa09d15d021fb83ec6f1336176ebaebbeec.zip |
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
Diffstat (limited to 'drivers/ras/debugfs.h')
-rw-r--r-- | drivers/ras/debugfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ras/debugfs.h b/drivers/ras/debugfs.h index c07443b462ad..4749ccdeeba1 100644 --- a/drivers/ras/debugfs.h +++ b/drivers/ras/debugfs.h @@ -4,6 +4,6 @@ #include <linux/debugfs.h> -extern struct dentry *ras_debugfs_dir; +struct dentry *ras_get_debugfs_root(void); #endif /* __RAS_DEBUGFS_H__ */ |