From: Jon Schindler <jkschind@gmail.com>
To: "Kok, Auke" <auke-jan.h.kok@intel.com>
Cc: jeff@garzik.org, akpm@linux-foundation.org,
netdev@vger.kernel.org, alan@lxorguk.ukuu.org.uk
Subject: Re: [patch 16/17] drivers/net/8390.c: replace init_module&cleanup_module with module_init&module_exit
Date: Sun, 09 Mar 2008 01:00:21 -0600 [thread overview]
Message-ID: <47D38B05.6000708@gmail.com> (raw)
In-Reply-To: <47D1D70A.2070003@intel.com>
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_module_init);
+module_exit(ns8390_module_exit);
#endif /* MODULE */
MODULE_LICENSE("GPL");
next prev parent reply other threads:[~2008-03-09 7:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-04 23:19 [patch 16/17] drivers/net/8390.c: replace init_module&cleanup_module with module_init&module_exit akpm
2008-03-08 0:00 ` Kok, Auke
2008-03-09 6:56 ` Jon Schindler
2008-03-09 7:00 ` Jon Schindler [this message]
2008-03-10 18:58 ` Andrew Morton
2008-03-20 18:15 ` Kok, Auke
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=47D38B05.6000708@gmail.com \
--to=jkschind@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=auke-jan.h.kok@intel.com \
--cc=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
/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 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).