Kobject: rename kobject_add_ng() to kobject_add()
[firefly-linux-kernel-4.4.55.git] / include / linux / kobject.h
index 8b0aa715fa2f7981f7e1fe8e2b2d8d2ac3b8d4bf..84c5afd588999f9060a410830b18db018ce8bfd3 100644 (file)
@@ -80,9 +80,9 @@ 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_ng(struct kobject *kobj,
-                                      struct kobject *parent,
-                                      const char *fmt, ...);
+extern int __must_check kobject_add(struct kobject *kobj,
+                                   struct kobject *parent,
+                                   const char *fmt, ...);
 extern int __must_check kobject_init_and_add(struct kobject *kobj,
                                             struct kobj_type *ktype,
                                             struct kobject *parent,