lkml.org 
[lkml]   [2011]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] kobject: export kobject_set_name_vargs
Date
Applies EXPORT_SYMBOL to kobject_set_name_vargs().  As the function
itself is not marked static, it appears as though the function was
intended to be exported.

Among possibly others, the upcoming Generic PWM API code uses
kobject_set_name_vargs(). This function must be exported if users
wish to call it from kernel modules.

Signed-off-by: Bill Gatliff <bgat@billgatliff.com>
---
lib/kobject.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/kobject.c b/lib/kobject.c
index 82dc34c..43f5b09 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -232,6 +232,7 @@ int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
kfree(old_name);
return 0;
}
+EXPORT_SYMBOL(kobject_set_name_vargs);

/**
* kobject_set_name - Set the name of a kobject
--
1.7.2.3


\
 
 \ /
  Last update: 2011-03-18 15:43    [W:1.950 / U:10.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site