mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
Kobject: remove kobject_add() as no one uses it anymore
The old kobject_add() function is on longer in use, so let us remove it from the public scope (kset mess in the kobject.c file still uses it, but that can be cleaned up later very simply.) Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ac3c8141f6
commit
9e7bbccd02
2 changed files with 8 additions and 15 deletions
|
@ -80,7 +80,6 @@ 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 int __must_check kobject_add_ng(struct kobject *kobj,
|
||||
struct kobject *parent,
|
||||
const char *fmt, ...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue