Commit 3750eee7 authored by Patrick Mochel's avatar Patrick Mochel

kobject: export kset_find_obj.

From Louis Zhang.
parent eef4e251
......@@ -87,7 +87,7 @@ static inline void kset_put(struct kset * k)
}
extern struct kobject * kset_find_obj(struct kset *, char *);
extern struct kobject * kset_find_obj(struct kset *, const char *);
struct subsystem {
......
......@@ -295,7 +295,7 @@ void kset_unregister(struct kset * k)
* looking for a matching kobject. Return object if found.
*/
struct kobject * kset_find_obj(struct kset * kset, char * name)
struct kobject * kset_find_obj(struct kset * kset, const char * name)
{
struct list_head * entry;
struct kobject * ret = NULL;
......@@ -387,6 +387,8 @@ EXPORT_SYMBOL(kobject_unregister);
EXPORT_SYMBOL(kobject_get);
EXPORT_SYMBOL(kobject_put);
EXPORT_SYMBOL(kset_find_obj);
EXPORT_SYMBOL(subsystem_init);
EXPORT_SYMBOL(subsystem_register);
EXPORT_SYMBOL(subsystem_unregister);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment