summaryrefslogtreecommitdiff
path: root/kernel/intermodule.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-03-11 16:40:56 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-11 16:40:56 -0800
commit9d340cb7c38e0872b742890d76190cc3ac3cfd50 (patch)
treedfdeec48c5c8bbee1fc210402fb268d78d9d59ec /kernel/intermodule.c
parentaf942602d0cc67254c861ed1c9a4171ccd6e0e32 (diff)
[PATCH] Make lots of things static
This is a megarollup of ~60 patches which give various things static scope. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/intermodule.c')
-rw-r--r--kernel/intermodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/intermodule.c b/kernel/intermodule.c
index 9078649382cf..388977f3e9b7 100644
--- a/kernel/intermodule.c
+++ b/kernel/intermodule.c
@@ -113,7 +113,7 @@ void inter_module_unregister(const char *im_name)
* Try to increment the use count on the owning module, if that fails
* then return NULL. Otherwise return the userdata.
*/
-const void *inter_module_get(const char *im_name)
+static const void *inter_module_get(const char *im_name)
{
struct list_head *tmp;
struct inter_module_entry *ime;
@@ -178,6 +178,5 @@ void inter_module_put(const char *im_name)
EXPORT_SYMBOL(inter_module_register);
EXPORT_SYMBOL(inter_module_unregister);
-EXPORT_SYMBOL(inter_module_get);
EXPORT_SYMBOL(inter_module_get_request);
EXPORT_SYMBOL(inter_module_put);