diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-13 16:15:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-02 21:57:59 -0400 |
commit | 823bccfc4002296ba88c3ad0f049e1abd8108d30 (patch) | |
tree | 5338ae0b32409446af4cd00c5107d9405d5bf0b6 /fs/debugfs | |
parent | 2609e7b9bebfd433254c02538ba803dc516ff674 (diff) |
remove "struct subsystem" as it is no longer needed
We need to work on cleaning up the relationship between kobjects, ksets and
ktypes. The removal of 'struct subsystem' is the first step of this,
especially as it is not really needed at all.
Thanks to Kay for fixing the bugs in this patch.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/debugfs')
-rw-r--r-- | fs/debugfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 7b324cfebcb1..ec8896b264de 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c | |||
@@ -374,7 +374,7 @@ static int __init debugfs_init(void) | |||
374 | { | 374 | { |
375 | int retval; | 375 | int retval; |
376 | 376 | ||
377 | kset_set_kset_s(&debug_subsys, kernel_subsys); | 377 | kobj_set_kset_s(&debug_subsys, kernel_subsys); |
378 | retval = subsystem_register(&debug_subsys); | 378 | retval = subsystem_register(&debug_subsys); |
379 | if (retval) | 379 | if (retval) |
380 | return retval; | 380 | return retval; |