diff options
| author | Tejun Heo <tj@home-tj.org> | 2004-12-20 18:36:52 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-12-20 18:36:52 -0800 |
| commit | fcf7104e3c6e9a4b2db96204e8f06efbe14cf258 (patch) | |
| tree | 46fbfc33ca06ff627ed0dbb202de47f588b381d2 /include/linux/module.h | |
| parent | 064840485854ee9deb170fd40b33cfdd1de7fa1a (diff) | |
[PATCH] module sysfs: module parameters reimplemented using attr group
Reimplement parameter attributes using attribute group.
This makes more sense, for, while they reside in a separate
subdirectory, they belong to the ownig module and their
lifetime exactly equals the lifetime of the owning module,
and it's simpler.
Signed-off-by: Tejun Heo <tj@home-tj.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'include/linux/module.h')
| -rw-r--r-- | include/linux/module.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index a3f3117574dd..159e8b9daa11 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -238,7 +238,7 @@ struct module_sect_attrs struct module_sect_attr attrs[0]; }; -struct param_kobject; +struct module_param_attrs; struct module { @@ -252,7 +252,7 @@ struct module /* Sysfs stuff. */ struct module_kobject mkobj; - struct param_kobject *params_kobject; + struct module_param_attrs *param_attrs; /* Exported symbols */ const struct kernel_symbol *syms; |
