]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/sysfs/sysfs.h
sysfs: make attr namespace interface less convoluted
[karo-tx-linux.git] / fs / sysfs / sysfs.h
index b6deca3e301d2947c94c5789c8a941a0dfe497fa..a96da2559db2b2f48f4adb3a7cf433935fd3cdf9 100644 (file)
@@ -230,8 +230,9 @@ extern const struct file_operations sysfs_file_operations;
 int sysfs_add_file(struct sysfs_dirent *dir_sd,
                   const struct attribute *attr, int type);
 
-int sysfs_add_file_mode(struct sysfs_dirent *dir_sd,
-                       const struct attribute *attr, int type, umode_t amode);
+int sysfs_add_file_mode_ns(struct sysfs_dirent *dir_sd,
+                          const struct attribute *attr, int type,
+                          umode_t amode, const void *ns);
 /*
  * bin.c
  */