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 | 9e7bbccd0290e720e0874443932869c55f63d5a8 (patch) | |
tree | 80cc436d79f217809d3f7ecc07d621e5d6e050c3 /include/linux/kobject.h | |
parent | ac3c8141f62f357169980ec21b7be6d29964a394 (diff) |
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>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r-- | include/linux/kobject.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index bb6868475edb..8b0aa715fa2f 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -80,7 +80,6 @@ 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(struct kobject *); | ||
84 | extern int __must_check kobject_add_ng(struct kobject *kobj, | 83 | extern int __must_check kobject_add_ng(struct kobject *kobj, |
85 | struct kobject *parent, | 84 | struct kobject *parent, |
86 | const char *fmt, ...); | 85 | const char *fmt, ...); |