[PATCH 2/3] kobject: export kset_find_obj() to be used from modules

Greg KH gregkh at linuxfoundation.org
Mon Aug 10 14:33:04 EDT 2015


On Mon, Aug 10, 2015 at 12:31:19PM -0400, Gabriel L. Somlo wrote:
> 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..f9754a0 100644
> --- a/lib/kobject.c
> +++ b/lib/kobject.c
> @@ -1058,3 +1058,4 @@ EXPORT_SYMBOL(kobject_del);
>  
>  EXPORT_SYMBOL(kset_register);
>  EXPORT_SYMBOL(kset_unregister);
> +EXPORT_SYMBOL(kset_find_obj);

checkpatch doesn't like this for obvious reasons :)



More information about the Kernelnewbies mailing list