[PATCH v4 2/4] kobject: export kset_find_obj() for module use

Gabriel L. Somlo somlo at cmu.edu
Fri Nov 13 22:03:53 EST 2015


From: Gabriel Somlo <somlo at cmu.edu>

Signed-off-by: Gabriel Somlo <somlo at cmu.edu>
---
 lib/kobject.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/kobject.c b/lib/kobject.c
index 7cbccd2..90d1be6 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -861,6 +861,7 @@ struct kobject *kset_find_obj(struct kset *kset, const char *name)
 	spin_unlock(&kset->list_lock);
 	return ret;
 }
+EXPORT_SYMBOL(kset_find_obj);
 
 static void kset_release(struct kobject *kobj)
 {
-- 
2.4.3




More information about the Kernelnewbies mailing list