diff options
author | Len Brown <len.brown@intel.com> | 2010-08-15 01:06:31 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-08-15 01:06:31 -0400 |
commit | 95ee46aa8698f2000647dfb362400fadbb5807cf (patch) | |
tree | e5a05c7297f997e191c73091934e42e3195c0e40 /include/linux/sysfs.h | |
parent | cfa806f059801dbe7e435745eb2e187c8bfe1e7f (diff) | |
parent | 92fa5bd9a946b6e7aab6764e7312e4e3d9bed295 (diff) |
Merge branch 'linus' into release
Conflicts:
drivers/acpi/debug.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r-- | include/linux/sysfs.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index f2694eb4dd3d..3c92121ba9af 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
@@ -22,14 +22,8 @@ struct kobject; | |||
22 | struct module; | 22 | struct module; |
23 | enum kobj_ns_type; | 23 | enum kobj_ns_type; |
24 | 24 | ||
25 | /* FIXME | ||
26 | * The *owner field is no longer used. | ||
27 | * x86 tree has been cleaned up. The owner | ||
28 | * attribute is still left for other arches. | ||
29 | */ | ||
30 | struct attribute { | 25 | struct attribute { |
31 | const char *name; | 26 | const char *name; |
32 | struct module *owner; | ||
33 | mode_t mode; | 27 | mode_t mode; |
34 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | 28 | #ifdef CONFIG_DEBUG_LOCK_ALLOC |
35 | struct lock_class_key *key; | 29 | struct lock_class_key *key; |
@@ -136,8 +130,8 @@ int __must_check sysfs_create_file(struct kobject *kobj, | |||
136 | const struct attribute *attr); | 130 | const struct attribute *attr); |
137 | int __must_check sysfs_create_files(struct kobject *kobj, | 131 | int __must_check sysfs_create_files(struct kobject *kobj, |
138 | const struct attribute **attr); | 132 | const struct attribute **attr); |
139 | int __must_check sysfs_chmod_file(struct kobject *kobj, struct attribute *attr, | 133 | int __must_check sysfs_chmod_file(struct kobject *kobj, |
140 | mode_t mode); | 134 | const struct attribute *attr, mode_t mode); |
141 | void sysfs_remove_file(struct kobject *kobj, const struct attribute *attr); | 135 | void sysfs_remove_file(struct kobject *kobj, const struct attribute *attr); |
142 | void sysfs_remove_files(struct kobject *kobj, const struct attribute **attr); | 136 | void sysfs_remove_files(struct kobject *kobj, const struct attribute **attr); |
143 | 137 | ||
@@ -225,7 +219,7 @@ static inline int sysfs_create_files(struct kobject *kobj, | |||
225 | } | 219 | } |
226 | 220 | ||
227 | static inline int sysfs_chmod_file(struct kobject *kobj, | 221 | static inline int sysfs_chmod_file(struct kobject *kobj, |
228 | struct attribute *attr, mode_t mode) | 222 | const struct attribute *attr, mode_t mode) |
229 | { | 223 | { |
230 | return 0; | 224 | return 0; |
231 | } | 225 | } |