diff options
Diffstat (limited to 'include/linux/configfs.h')
-rw-r--r-- | include/linux/configfs.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/configfs.h b/include/linux/configfs.h index def7c83d43a2..bbb1b6cafa8b 100644 --- a/include/linux/configfs.h +++ b/include/linux/configfs.h | |||
@@ -86,12 +86,10 @@ struct config_item_type { | |||
86 | struct configfs_attribute **ct_attrs; | 86 | struct configfs_attribute **ct_attrs; |
87 | }; | 87 | }; |
88 | 88 | ||
89 | |||
90 | /** | 89 | /** |
91 | * group - a group of config_items of a specific type, belonging | 90 | * group - a group of config_items of a specific type, belonging |
92 | * to a specific subsystem. | 91 | * to a specific subsystem. |
93 | */ | 92 | */ |
94 | |||
95 | struct config_group { | 93 | struct config_group { |
96 | struct config_item cg_item; | 94 | struct config_item cg_item; |
97 | struct list_head cg_children; | 95 | struct list_head cg_children; |
@@ -99,13 +97,11 @@ struct config_group { | |||
99 | struct config_group **default_groups; | 97 | struct config_group **default_groups; |
100 | }; | 98 | }; |
101 | 99 | ||
102 | |||
103 | extern void config_group_init(struct config_group *group); | 100 | extern void config_group_init(struct config_group *group); |
104 | extern void config_group_init_type_name(struct config_group *group, | 101 | extern void config_group_init_type_name(struct config_group *group, |
105 | const char *name, | 102 | const char *name, |
106 | struct config_item_type *type); | 103 | struct config_item_type *type); |
107 | 104 | ||
108 | |||
109 | static inline struct config_group *to_config_group(struct config_item *item) | 105 | static inline struct config_group *to_config_group(struct config_item *item) |
110 | { | 106 | { |
111 | return item ? container_of(item,struct config_group,cg_item) : NULL; | 107 | return item ? container_of(item,struct config_group,cg_item) : NULL; |
@@ -121,7 +117,8 @@ static inline void config_group_put(struct config_group *group) | |||
121 | config_item_put(&group->cg_item); | 117 | config_item_put(&group->cg_item); |
122 | } | 118 | } |
123 | 119 | ||
124 | extern struct config_item *config_group_find_obj(struct config_group *, const char *); | 120 | extern struct config_item *config_group_find_item(struct config_group *, |
121 | const char *); | ||
125 | 122 | ||
126 | 123 | ||
127 | struct configfs_attribute { | 124 | struct configfs_attribute { |