diff options
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r-- | fs/sysfs/sysfs.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index f4fdbbffd571..f8f49cc5c852 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -20,8 +20,11 @@ extern int sysfs_create(struct dentry *, int mode, int (*init)(struct inode *)); | |||
20 | 20 | ||
21 | extern void release_sysfs_dirent(struct sysfs_dirent * sd); | 21 | extern void release_sysfs_dirent(struct sysfs_dirent * sd); |
22 | extern int sysfs_dirent_exist(struct sysfs_dirent *, const unsigned char *); | 22 | extern int sysfs_dirent_exist(struct sysfs_dirent *, const unsigned char *); |
23 | extern int sysfs_make_dirent(struct sysfs_dirent *, struct dentry *, void *, | 23 | extern struct sysfs_dirent *sysfs_new_dirent(void *element, umode_t mode, |
24 | umode_t, int); | 24 | int type); |
25 | extern void sysfs_attach_dirent(struct sysfs_dirent *sd, | ||
26 | struct sysfs_dirent *parent_sd, | ||
27 | struct dentry *dentry); | ||
25 | 28 | ||
26 | extern int sysfs_add_file(struct dentry *, const struct attribute *, int); | 29 | extern int sysfs_add_file(struct dentry *, const struct attribute *, int); |
27 | extern int sysfs_hash_and_remove(struct dentry * dir, const char * name); | 30 | extern int sysfs_hash_and_remove(struct dentry * dir, const char * name); |