LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jon Schindler <jkschind@gmail.com>
To: linux-kernel@vger.kernel.org, trivial@kernel.org,
kernel-janitors@vger.kernel.org
Subject: [PATCH 1/9] /drivers/net/8390.c replaced init_module&cleanup_module with module_init&module_exit
Date: Thu, 28 Feb 2008 01:30:14 -0600 [thread overview]
Message-ID: <47C66306.7020006@watson.wustl.edu> (raw)
Replaced init_module and cleanup_module with static functions and module_init/module_exit.
Signed-off-by: Jon Schindler <jkschind@gmail.com>
---
diff --git a/drivers/net/8390.c b/drivers/net/8390.c
index a828076..0ed41a3 100644
--- a/drivers/net/8390.c
+++ b/drivers/net/8390.c
@@ -48,14 +48,16 @@ EXPORT_SYMBOL(__alloc_ei_netdev);
#if defined(MODULE)
-int init_module(void)
+static int __init ns8390_module_init(void)
{
return 0;
}
-void cleanup_module(void)
+static void __exit ns8390_module_exit(void)
{
}
+module_init(ns8390_init_module);
+module_exit(ns8390_module_exit);
#endif /* MODULE */
MODULE_LICENSE("GPL");
next reply other threads:[~2008-02-28 7:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-28 7:30 Jon Schindler [this message]
2008-03-05 11:21 ` Jeff Garzik
2008-03-01 6:20 Jon Schindler
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=47C66306.7020006@watson.wustl.edu \
--to=jkschind@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
--subject='Re: [PATCH 1/9] /drivers/net/8390.c replaced init_module&cleanup_module with module_init&module_exit' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).