]> err.no Git - linux-2.6/blobdiff - fs/sysfs/sysfs.h
[ARM] 3981/1: sched_clock for PXA2xx
[linux-2.6] / fs / sysfs / sysfs.h
index 32958a7c50e95ce5ffe448a83507c654901fb349..6f3d6bd52887bcd541aa917ede96338d47300bfe 100644 (file)
@@ -10,7 +10,8 @@ extern int sysfs_make_dirent(struct sysfs_dirent *, struct dentry *, void *,
                                umode_t, int);
 
 extern int sysfs_add_file(struct dentry *, const struct attribute *, int);
-extern void sysfs_hash_and_remove(struct dentry * dir, const char * name);
+extern int sysfs_hash_and_remove(struct dentry * dir, const char * name);
+extern struct sysfs_dirent *sysfs_find(struct sysfs_dirent *dir, const char * name);
 
 extern int sysfs_create_subdir(struct kobject *, const char *, struct dentry **);
 extern void sysfs_remove_subdir(struct dentry *);