From fa72b61fbae5678655f3f9e05abc292b4d5ecd64 Mon Sep 17 00:00:00 2001 From: Patrick Mochel Date: Thu, 9 Jan 2003 06:10:39 -0600 Subject: sysfs: fixup subsystem attributes. - Remove @count and @off from the show() and store() methods. --- include/linux/kobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux/kobject.h') 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 *); -- cgit v1.2.3