kobject: export kset_find_obj() for module use

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gabriel Somlo 2016-01-28 09:23:12 -05:00 committed by Greg Kroah-Hartman
parent 371fd7a2c4
commit 2fe829aca9

View File

@ -861,6 +861,7 @@ struct kobject *kset_find_obj(struct kset *kset, const char *name)
spin_unlock(&kset->list_lock); spin_unlock(&kset->list_lock);
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(kset_find_obj);
static void kset_release(struct kobject *kobj) static void kset_release(struct kobject *kobj)
{ {