diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2011-10-12 17:55:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-19 19:24:15 -0400 |
commit | 672d82c18d222e51b40ff47e660fc54ec3e3e0a9 (patch) | |
tree | 4b16b21bc0bcf0c7f9b21c7389e551cbd83e06a7 /include/linux/device.h | |
parent | 487505c257021fc06a7d05753cf27b011487f1dc (diff) |
class: Implement support for class attrs in tagged sysfs directories.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index c20dfbfc49b4..ea70bb2e6878 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -350,6 +350,8 @@ struct class_attribute { | |||
350 | char *buf); | 350 | char *buf); |
351 | ssize_t (*store)(struct class *class, struct class_attribute *attr, | 351 | ssize_t (*store)(struct class *class, struct class_attribute *attr, |
352 | const char *buf, size_t count); | 352 | const char *buf, size_t count); |
353 | const void *(*namespace)(struct class *class, | ||
354 | const struct class_attribute *attr); | ||
353 | }; | 355 | }; |
354 | 356 | ||
355 | #define CLASS_ATTR(_name, _mode, _show, _store) \ | 357 | #define CLASS_ATTR(_name, _mode, _show, _store) \ |