|
@@ -108,6 +108,8 @@ extern int __must_check kobject_rename(struct kobject *, const char *new_name);
|
|
extern int __must_check kobject_move(struct kobject *, struct kobject *);
|
|
extern int __must_check kobject_move(struct kobject *, struct kobject *);
|
|
|
|
|
|
extern struct kobject *kobject_get(struct kobject *kobj);
|
|
extern struct kobject *kobject_get(struct kobject *kobj);
|
|
|
|
+extern struct kobject * __must_check kobject_get_unless_zero(
|
|
|
|
+ struct kobject *kobj);
|
|
extern void kobject_put(struct kobject *kobj);
|
|
extern void kobject_put(struct kobject *kobj);
|
|
|
|
|
|
extern const void *kobject_namespace(struct kobject *kobj);
|
|
extern const void *kobject_namespace(struct kobject *kobj);
|