xref: /linux/arch/sh/kernel/kdebugfs.c (revision 12f020338a2ca5db99db40b3cf8e4df88744c541)
1 #include <linux/module.h>
2 #include <linux/init.h>
3 #include <linux/debugfs.h>
4 
5 struct dentry *arch_debugfs_dir;
6 EXPORT_SYMBOL(arch_debugfs_dir);
7 
8 static int __init arch_kdebugfs_init(void)
9 {
10 	arch_debugfs_dir = debugfs_create_dir("sh", NULL);
11 	if (!arch_debugfs_dir)
12 		return -ENOMEM;
13 
14 	return 0;
15 }
16 arch_initcall(arch_kdebugfs_init);
17