diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-18 01:05:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:38 -0500 |
commit | f9cb074bff8e762ef24c44678a5a7d907f82fbeb (patch) | |
tree | 50438fc90b8f6170dd8eb5d43712c61719a16304 /include/linux | |
parent | e1543ddf739b22a8c4218716ad50c26b3e147403 (diff) |
Kobject: rename kobject_init_ng() to kobject_init()
Now that the old kobject_init() function is gone, rename
kobject_init_ng() to kobject_init() to clean up the namespace.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 53458b674fae..d9d8c368f044 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -78,7 +78,7 @@ static inline const char * kobject_name(const struct kobject * kobj) | |||
78 | return kobj->k_name; | 78 | return kobj->k_name; |
79 | } | 79 | } |
80 | 80 | ||
81 | extern void kobject_init_ng(struct kobject *kobj, struct kobj_type *ktype); | 81 | extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype); |
82 | extern int __must_check kobject_add(struct kobject *kobj, | 82 | extern int __must_check kobject_add(struct kobject *kobj, |
83 | struct kobject *parent, | 83 | struct kobject *parent, |
84 | const char *fmt, ...); | 84 | const char *fmt, ...); |