git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] sysfs: add filter function to groups
[pandora-kernel.git]
/
include
/
linux
/
sysfs.h
diff --git
a/include/linux/sysfs.h
b/include/linux/sysfs.h
index
149ab62
..
8027104
100644
(file)
--- a/
include/linux/sysfs.h
+++ b/
include/linux/sysfs.h
@@
-32,6
+32,8
@@
struct attribute {
struct attribute_group {
const char *name;
+ int (*is_visible)(struct kobject *,
+ struct attribute *, int);
struct attribute **attrs;
};