aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/kobject.h4
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
154extern void kset_init(struct kset * k); 153extern void kset_init(struct kset * k);
155extern int __must_check kset_add(struct kset * k); 154extern int __must_check kset_add(struct kset * k);
156extern int __must_check kset_register(struct kset * k); 155extern int __must_check kset_register(struct kset * k);
157extern void kset_unregister(struct kset * k); 156extern void kset_unregister(struct kset * k);
157extern struct kset * __must_check kset_create_and_add(const char *name,
158 struct kset_uevent_ops *u,
159 struct kobject *parent_kobj);
158 160
159static inline struct kset * to_kset(struct kobject * kobj) 161static inline struct kset * to_kset(struct kobject * kobj)
160{ 162{