summaryrefslogtreecommitdiff
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-01-12 21:58:45 -0600
committerPatrick Mochel <mochel@osdl.org>2003-01-12 21:58:45 -0600
commitef43a6db37115d40bc5ce560ec26c65bf1688f73 (patch)
tree2837391532dccd5762de61fade9bd43e76d3724d /include/linux/kobject.h
parent8deb34fe8baddbf7b431fd66d8b4ee18d805cd63 (diff)
sysfs: restore count parameter to struct sysfs_ops::store().
- Fixup subsys_sysfs_ops along the way.
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 0cc01658044d..409d2af385cb 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -166,7 +166,7 @@ static inline void subsys_put(struct subsystem * s)
struct subsys_attribute {
struct attribute attr;
ssize_t (*show)(struct subsystem *, char *);
- ssize_t (*store)(struct subsystem *, const char *);
+ ssize_t (*store)(struct subsystem *, const char *, size_t);
};
extern int subsys_create_file(struct subsystem * , struct subsys_attribute *);