aboutsummaryrefslogtreecommitdiffstats
path: root/fs/debugfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/debugfs/inode.c')
-rw-r--r--fs/debugfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index 5ce92c3d3b59..97f6381c36c2 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -432,7 +432,7 @@ static int __init debugfs_init(void)
432{ 432{
433 int retval; 433 int retval;
434 434
435 debug_kobj = kobject_create_and_add("debug", &kernel_kset->kobj); 435 debug_kobj = kobject_create_and_add("debug", kernel_kobj);
436 if (!debug_kobj) 436 if (!debug_kobj)
437 return -EINVAL; 437 return -EINVAL;
438 438