[PATCH v2 2/3] kobject: export kset_find_obj() to be used from modules
Gabriel L. Somlo
somlo at cmu.edu
Tue Aug 11 14:44:48 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 0554077..8f07202 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -847,6 +847,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