diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-03 21:31:08 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 20:40:09 -0800 |
commit | e86000d042d23904bbb609af2f8618a541cf129b (patch) | |
tree | f31e28280e33248a3cd82ae2bcfa5b51c12d9984 /include | |
parent | 18041f4775688af073d9b3ab0ffc262c1847e60b (diff) | |
download | linux-3.10-e86000d042d23904bbb609af2f8618a541cf129b.tar.gz linux-3.10-e86000d042d23904bbb609af2f8618a541cf129b.tar.bz2 linux-3.10-e86000d042d23904bbb609af2f8618a541cf129b.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 2d19a079ee7..bdf4f7c45f1 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h @@ -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 *); |