[PATCH v3 3/4] kobject: export kset_find_obj() for module use
Gabriel L. Somlo
somlo at cmu.edu
Sat Oct 3 19:28:08 EDT 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 3e3a5c3..bea2c9b 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -842,6 +842,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