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 | b2d6db5878a0832659ed58476357eea2db915550 (patch) | |
tree | c7c9e98431078ca7b0405e8003bd905ab62df7c4 /include/linux | |
parent | 9e7bbccd0290e720e0874443932869c55f63d5a8 (diff) |
Kobject: rename kobject_add_ng() to kobject_add()
Now that the old kobject_add() function is gone, rename kobject_add_ng()
to kobject_add() 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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 8b0aa715fa2f..84c5afd58899 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -80,9 +80,9 @@ static inline const char * kobject_name(const struct kobject * kobj) | |||
80 | 80 | ||
81 | extern void kobject_init(struct kobject *); | 81 | extern void kobject_init(struct kobject *); |
82 | extern void kobject_init_ng(struct kobject *kobj, struct kobj_type *ktype); | 82 | extern void kobject_init_ng(struct kobject *kobj, struct kobj_type *ktype); |
83 | extern int __must_check kobject_add_ng(struct kobject *kobj, | 83 | extern int __must_check kobject_add(struct kobject *kobj, |
84 | struct kobject *parent, | 84 | struct kobject *parent, |
85 | const char *fmt, ...); | 85 | const char *fmt, ...); |
86 | extern int __must_check kobject_init_and_add(struct kobject *kobj, | 86 | extern int __must_check kobject_init_and_add(struct kobject *kobj, |
87 | struct kobj_type *ktype, | 87 | struct kobj_type *ktype, |
88 | struct kobject *parent, | 88 | struct kobject *parent, |