]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/sysfs.h
[SCSI] sysfs: add filter function to groups
[linux-2.6-omap-h63xx.git] / include / linux / sysfs.h
index 149ab62329e238aab4ce518c41e4070764a8d32d..802710438a9e8a3b548d9549770268cb1ac2316b 100644 (file)
@@ -32,6 +32,8 @@ struct attribute {
 
 struct attribute_group {
        const char              *name;
+       int                     (*is_visible)(struct kobject *,
+                                             struct attribute *, int);
        struct attribute        **attrs;
 };