aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kernfs.h')
-rw-r--r--include/linux/kernfs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h
index 8736ee86a1d6..649497a56a95 100644
--- a/include/linux/kernfs.h
+++ b/include/linux/kernfs.h
@@ -201,7 +201,7 @@ struct kernfs_ops {
201#endif 201#endif
202}; 202};
203 203
204#ifdef CONFIG_SYSFS 204#ifdef CONFIG_KERNFS
205 205
206static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn) 206static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn)
207{ 207{
@@ -284,7 +284,7 @@ void kernfs_kill_sb(struct super_block *sb);
284 284
285void kernfs_init(void); 285void kernfs_init(void);
286 286
287#else /* CONFIG_SYSFS */ 287#else /* CONFIG_KERNFS */
288 288
289static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn) 289static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn)
290{ return 0; } /* whatever */ 290{ return 0; } /* whatever */
@@ -379,7 +379,7 @@ static inline void kernfs_kill_sb(struct super_block *sb) { }
379 379
380static inline void kernfs_init(void) { } 380static inline void kernfs_init(void) { }
381 381
382#endif /* CONFIG_SYSFS */ 382#endif /* CONFIG_KERNFS */
383 383
384static inline struct kernfs_node * 384static inline struct kernfs_node *
385kernfs_find_and_get(struct kernfs_node *kn, const char *name) 385kernfs_find_and_get(struct kernfs_node *kn, const char *name)