diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-01-09 06:10:39 -0600 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-01-09 06:10:39 -0600 |
| commit | fa72b61fbae5678655f3f9e05abc292b4d5ecd64 (patch) | |
| tree | f6af9dacbde6a241493987de5d21ea9d2e7a4b07 /include/linux | |
| parent | 41385d6c79efda88712ed34ffc6abc833cf8c29d (diff) | |
sysfs: fixup subsystem attributes.
- Remove @count and @off from the show() and store() methods.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index ff15fe1bc8fd..0cc01658044d 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h @@ -165,8 +165,8 @@ static inline void subsys_put(struct subsystem * s) struct subsys_attribute { struct attribute attr; - ssize_t (*show)(struct subsystem *, char *, size_t, loff_t); - ssize_t (*store)(struct subsystem *, const char *, size_t, loff_t); + ssize_t (*show)(struct subsystem *, char *); + ssize_t (*store)(struct subsystem *, const char *); }; extern int subsys_create_file(struct subsystem * , struct subsys_attribute *); |
