aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-12-18 01:05:35 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 23:40:38 -0500
commitb2d6db5878a0832659ed58476357eea2db915550 (patch)
treec7c9e98431078ca7b0405e8003bd905ab62df7c4 /include/linux/kobject.h
parent9e7bbccd0290e720e0874443932869c55f63d5a8 (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/kobject.h')
-rw-r--r--include/linux/kobject.h6
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
81extern void kobject_init(struct kobject *); 81extern void kobject_init(struct kobject *);
82extern void kobject_init_ng(struct kobject *kobj, struct kobj_type *ktype); 82extern void kobject_init_ng(struct kobject *kobj, struct kobj_type *ktype);
83extern int __must_check kobject_add_ng(struct kobject *kobj, 83extern int __must_check kobject_add(struct kobject *kobj,
84 struct kobject *parent, 84 struct kobject *parent,
85 const char *fmt, ...); 85 const char *fmt, ...);
86extern int __must_check kobject_init_and_add(struct kobject *kobj, 86extern 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,