diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sysfs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index f2694eb4dd3d..8bf06b64487c 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
| @@ -136,8 +136,8 @@ int __must_check sysfs_create_file(struct kobject *kobj, | |||
| 136 | const struct attribute *attr); | 136 | const struct attribute *attr); |
| 137 | int __must_check sysfs_create_files(struct kobject *kobj, | 137 | int __must_check sysfs_create_files(struct kobject *kobj, |
| 138 | const struct attribute **attr); | 138 | const struct attribute **attr); |
| 139 | int __must_check sysfs_chmod_file(struct kobject *kobj, struct attribute *attr, | 139 | int __must_check sysfs_chmod_file(struct kobject *kobj, |
| 140 | mode_t mode); | 140 | const struct attribute *attr, mode_t mode); |
| 141 | void sysfs_remove_file(struct kobject *kobj, const struct attribute *attr); | 141 | void sysfs_remove_file(struct kobject *kobj, const struct attribute *attr); |
| 142 | void sysfs_remove_files(struct kobject *kobj, const struct attribute **attr); | 142 | void sysfs_remove_files(struct kobject *kobj, const struct attribute **attr); |
| 143 | 143 | ||
| @@ -225,7 +225,7 @@ static inline int sysfs_create_files(struct kobject *kobj, | |||
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | static inline int sysfs_chmod_file(struct kobject *kobj, | 227 | static inline int sysfs_chmod_file(struct kobject *kobj, |
| 228 | struct attribute *attr, mode_t mode) | 228 | const struct attribute *attr, mode_t mode) |
| 229 | { | 229 | { |
| 230 | return 0; | 230 | return 0; |
| 231 | } | 231 | } |
