Messages in this thread Patch in this message | | | Date | Sun, 12 Dec 2004 20:40:43 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] kernel/intermodule.c: make inter_module_get static |
| |
In -mm, there's no longer any user of inter_module_get outside of intermodule.c .
diffstat output: include/linux/module.h | 1 - kernel/intermodule.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc2-mm4-full/include/linux/module.h.old 2004-12-12 02:53:34.000000000 +0100 +++ linux-2.6.10-rc2-mm4-full/include/linux/module.h 2004-12-12 02:53:50.000000000 +0100 @@ -571,7 +571,6 @@ extern void __deprecated inter_module_register(const char *, struct module *, const void *); extern void __deprecated inter_module_unregister(const char *); -extern const void * __deprecated inter_module_get(const char *); extern const void * __deprecated inter_module_get_request(const char *, const char *); extern void __deprecated inter_module_put(const char *); --- linux-2.6.10-rc2-mm4-full/kernel/intermodule.c.old 2004-12-12 02:53:57.000000000 +0100 +++ linux-2.6.10-rc2-mm4-full/kernel/intermodule.c 2004-12-12 02:54:17.000000000 +0100 @@ -113,7 +113,7 @@ * 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 @@ 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |