power: tps80031: battery-charger: register as mfd sub device
[linux-2.6.git] / include / linux / path.h
index cbebdc5..edc98de 100644 (file)
@@ -9,4 +9,12 @@ struct path {
        struct dentry *dentry;
 };
 
+extern void path_get(struct path *);
+extern void path_put(struct path *);
+
+static inline int path_equal(const struct path *path1, const struct path *path2)
+{
+       return path1->mnt == path2->mnt && path1->dentry == path2->dentry;
+}
+
 #endif  /* _LINUX_PATH_H */