Browse Source

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>
Gabriel Somlo 9 years ago
parent
commit
2fe829aca9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/kobject.c

+ 1 - 0
lib/kobject.c

@@ -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)
 {
 {