]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/sysdev.h
sysdev: Pass the attribute to the low level sysdev show/store function
[karo-tx-linux.git] / include / linux / sysdev.h
index f2767bc6b73517bea32d2e34ed362a8e61b794f1..8dcf3162b21b373b63f0725960c9015b46cdd2ad 100644 (file)
@@ -99,8 +99,9 @@ extern void sysdev_unregister(struct sys_device *);
 
 struct sysdev_attribute { 
        struct attribute        attr;
-       ssize_t (*show)(struct sys_device *, char *);
-       ssize_t (*store)(struct sys_device *, const char *, size_t);
+       ssize_t (*show)(struct sys_device *, struct sysdev_attribute *, char *);
+       ssize_t (*store)(struct sys_device *, struct sysdev_attribute *,
+                        const char *, size_t);
 };