Commit 7ab35a14 authored by Eric Biggers's avatar Eric Biggers Committed by Greg Kroah-Hartman

kobject: make kset_get_ownership() 'static'

kset_get_ownership() is only used in lib/kobject.c, so make it 'static'.
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Reviewed-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7e9586ba
......@@ -887,7 +887,7 @@ static void kset_release(struct kobject *kobj)
kfree(kset);
}
void kset_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid)
static void kset_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid)
{
if (kobj->parent)
kobject_get_ownership(kobj->parent, uid, gid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment