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 /kernel/params.c | |
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 'kernel/params.c')
-rw-r--r-- | kernel/params.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/params.c b/kernel/params.c index 1fc4ac746cd8..312172320b4c 100644 --- a/kernel/params.c +++ b/kernel/params.c | |||
@@ -691,6 +691,7 @@ static struct kset_uevent_ops module_uevent_ops = { | |||
691 | }; | 691 | }; |
692 | 692 | ||
693 | decl_subsys(module, &module_ktype, &module_uevent_ops); | 693 | decl_subsys(module, &module_ktype, &module_uevent_ops); |
694 | int module_sysfs_initialized; | ||
694 | 695 | ||
695 | static struct kobj_type module_ktype = { | 696 | static struct kobj_type module_ktype = { |
696 | .sysfs_ops = &module_sysfs_ops, | 697 | .sysfs_ops = &module_sysfs_ops, |
@@ -709,6 +710,7 @@ static int __init param_sysfs_init(void) | |||
709 | __FILE__, __LINE__, ret); | 710 | __FILE__, __LINE__, ret); |
710 | return ret; | 711 | return ret; |
711 | } | 712 | } |
713 | module_sysfs_initialized = 1; | ||
712 | 714 | ||
713 | param_sysfs_builtin(); | 715 | param_sysfs_builtin(); |
714 | 716 | ||