From: Adrian Bunk <bunk@stusta.de>
To: rusty@rustcorp.com.au
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] kernel/intermodule.c: make inter_module_get static
Date: Sun, 12 Dec 2004 20:40:43 +0100 [thread overview]
Message-ID: <20041212194043.GB22324@stusta.de> (raw)
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);
next reply other threads:[~2004-12-12 19:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-12 19:40 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-06 23:33 [2.6 patch] kernel/intermodule.c: make inter_module_get static Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041212194043.GB22324@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.