diff options
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r-- | include/linux/kobject.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 57eea4cb940d..e2b8c3dae425 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -84,6 +84,11 @@ extern int __must_check kobject_add(struct kobject *); | |||
84 | extern int __must_check kobject_add_ng(struct kobject *kobj, | 84 | extern int __must_check kobject_add_ng(struct kobject *kobj, |
85 | struct kobject *parent, | 85 | struct kobject *parent, |
86 | const char *fmt, ...); | 86 | const char *fmt, ...); |
87 | extern int __must_check kobject_init_and_add(struct kobject *kobj, | ||
88 | struct kobj_type *ktype, | ||
89 | struct kobject *parent, | ||
90 | const char *fmt, ...); | ||
91 | |||
87 | extern void kobject_del(struct kobject *); | 92 | extern void kobject_del(struct kobject *); |
88 | 93 | ||
89 | extern int __must_check kobject_rename(struct kobject *, const char *new_name); | 94 | extern int __must_check kobject_rename(struct kobject *, const char *new_name); |