diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kobject.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 0b97b3a53917..f91aeb745664 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -150,11 +150,13 @@ struct kset { | |||
150 | struct kset_uevent_ops *uevent_ops; | 150 | struct kset_uevent_ops *uevent_ops; |
151 | }; | 151 | }; |
152 | 152 | ||
153 | |||
154 | extern void kset_init(struct kset * k); | 153 | extern void kset_init(struct kset * k); |
155 | extern int __must_check kset_add(struct kset * k); | 154 | extern int __must_check kset_add(struct kset * k); |
156 | extern int __must_check kset_register(struct kset * k); | 155 | extern int __must_check kset_register(struct kset * k); |
157 | extern void kset_unregister(struct kset * k); | 156 | extern void kset_unregister(struct kset * k); |
157 | extern struct kset * __must_check kset_create_and_add(const char *name, | ||
158 | struct kset_uevent_ops *u, | ||
159 | struct kobject *parent_kobj); | ||
158 | 160 | ||
159 | static inline struct kset * to_kset(struct kobject * kobj) | 161 | static inline struct kset * to_kset(struct kobject * kobj) |
160 | { | 162 | { |