diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kobject.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/kobject.c b/lib/kobject.c index 4a310e55a88..a152036db00 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -436,12 +436,11 @@ struct kobject * kobject_get(struct kobject * kobj) return kobj; } -/** - * kobject_cleanup - free kobject resources. - * @kobj: object. +/* + * kobject_cleanup - free kobject resources. + * @kobj: object to cleanup */ - -void kobject_cleanup(struct kobject * kobj) +static void kobject_cleanup(struct kobject *kobj) { struct kobj_type * t = get_ktype(kobj); struct kset * s = kobj->kset; |