From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: PATCH: mpu401 uses __init vars during __exit
Date: Fri, 21 Mar 2003 20:10:05 GMT [thread overview]
Message-ID: <200303212010.h2LKA5AW026298@hraefn.swansea.linux.org.uk> (raw)
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/sound/oss/mpu401.c linux-2.5.65-ac2/sound/oss/mpu401.c
--- linux-2.5.65/sound/oss/mpu401.c 2003-02-10 18:38:53.000000000 +0000
+++ linux-2.5.65-ac2/sound/oss/mpu401.c 2003-03-06 23:55:25.000000000 +0000
@@ -1762,13 +1762,13 @@
static struct address_info cfg;
-static int __initdata io = -1;
-static int __initdata irq = -1;
+static int io = -1;
+static int irq = -1;
MODULE_PARM(irq, "i");
MODULE_PARM(io, "i");
-int __init init_mpu401(void)
+static int __init init_mpu401(void)
{
int ret;
/* Can be loaded either for module use or to provide functions
@@ -1785,7 +1785,7 @@
return 0;
}
-void __exit cleanup_mpu401(void)
+static void __exit cleanup_mpu401(void)
{
if (io != -1 && irq != -1) {
/* Check for use by, for example, sscape driver */
reply other threads:[~2003-03-21 18:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200303212010.h2LKA5AW026298@hraefn.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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).