# Re: \[PATCH v8 2/4\] kobject: export kset\_find\_obj() for module use

- From: Greg KH \<hidden\>
- Date: 2016-02-07 07:24:26 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2016/02/4679613
- Thread: https://ratatoskr.run/linux-api/2016/01/4671926/t.md

```text
On Thu, Jan 28, 2016 at 09:23:12AM -0500, Gabriel L. Somlo wrote:
> From: Gabriel Somlo <redacted>
> 
> Signed-off-by: Gabriel Somlo <redacted>
> ---
>  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);

EXPORT_SYMBOL_GPL() please here.  I'll edit it by hand if you don't want
to resend the series.

thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
