mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
kobject: add kobject_init_ng function
This is what the kobject_init function is going to become. Add this to the kernel and then we can convert the tree over to use it. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
18041f4775
commit
e86000d042
2 changed files with 43 additions and 0 deletions
|
@ -79,6 +79,7 @@ static inline const char * kobject_name(const struct kobject * kobj)
|
|||
}
|
||||
|
||||
extern void kobject_init(struct kobject *);
|
||||
extern void kobject_init_ng(struct kobject *kobj, struct kobj_type *ktype);
|
||||
extern int __must_check kobject_add(struct kobject *);
|
||||
extern void kobject_del(struct kobject *);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue