diff options
Diffstat (limited to 'arch/sh/mm/pmb.c')
-rw-r--r-- | arch/sh/mm/pmb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index 6379091a1647..233c011c4d22 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c | |||
@@ -866,11 +866,9 @@ static int __init pmb_debugfs_init(void) | |||
866 | struct dentry *dentry; | 866 | struct dentry *dentry; |
867 | 867 | ||
868 | dentry = debugfs_create_file("pmb", S_IFREG | S_IRUGO, | 868 | dentry = debugfs_create_file("pmb", S_IFREG | S_IRUGO, |
869 | sh_debugfs_root, NULL, &pmb_debugfs_fops); | 869 | arch_debugfs_dir, NULL, &pmb_debugfs_fops); |
870 | if (!dentry) | 870 | if (!dentry) |
871 | return -ENOMEM; | 871 | return -ENOMEM; |
872 | if (IS_ERR(dentry)) | ||
873 | return PTR_ERR(dentry); | ||
874 | 872 | ||
875 | return 0; | 873 | return 0; |
876 | } | 874 | } |