diff options
| author | Tejun Heo <tj@home-tj.org> | 2004-12-20 18:36:20 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-12-20 18:36:20 -0800 |
| commit | 6239c1cfe8b95d18533ca82d9b6d7cf7c55028a1 (patch) | |
| tree | 0a7e2b9c6a88435f2da3b03b3d12620090a5bfad /include/linux | |
| parent | b86ab02803095190d6b72bcc18dcf620bf378df9 (diff) | |
[PATCH] module sysfs: expand module_attribute methods
Modify module_attribute show/store methods to accept self
argument to enable further extensions.
Signed-off-by: Tejun Heo <tj@home-tj.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/module.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index c1d709a317fd..a93281edc978 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -48,8 +48,9 @@ struct module; struct module_attribute { struct attribute attr; - ssize_t (*show)(struct module *, char *); - ssize_t (*store)(struct module *, const char *, size_t count); + ssize_t (*show)(struct module_attribute *, struct module *, char *); + ssize_t (*store)(struct module_attribute *, struct module *, + const char *, size_t count); }; struct module_kobject |
