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

From: Greg KH
Date: Sun Feb 07 2016 - 02:24:30 EST


On Thu, Jan 28, 2016 at 09:23:12AM -0500, Gabriel L. Somlo wrote:
> From: Gabriel Somlo <somlo@xxxxxxx>
>
> Signed-off-by: Gabriel Somlo <somlo@xxxxxxx>
> ---
> 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