From: Adam Belay <ambx1@neo.rr.com>
To: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PnP Updates for 2.6.4-mm2
Date: Mon, 15 Mar 2004 00:21:47 +0000 [thread overview]
Message-ID: <20040315002146.GD5972@neo.rr.com> (raw)
In-Reply-To: <20040315001519.GC5972@neo.rr.com>
[PNP] remove __init from system.c
This patch is from "Randy.Dunlap" <rddunlap@osdl.org>
// Linux 2.6.4-rc2
// These 2 functions shouldn't be __init for general PNP use.
diffstat:=
drivers/pnp/system.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Naurp ./drivers/pnp/system.c~pnp_init ./drivers/pnp/system.c
--- ./drivers/pnp/system.c~pnp_init 2004-02-17 19:59:59.000000000 -0800
+++ ./drivers/pnp/system.c 2004-03-07 15:14:30.000000000 -0800
@@ -21,7 +21,7 @@ static const struct pnp_device_id pnp_de
{ "", 0 }
};
-static void __init reserve_ioport_range(char *pnpid, int start, int end)
+static void reserve_ioport_range(char *pnpid, int start, int end)
{
struct resource *res;
char *regionid;
@@ -49,7 +49,7 @@ static void __init reserve_ioport_range(
return;
}
-static void __init reserve_resources_of_dev( struct pnp_dev *dev )
+static void reserve_resources_of_dev( struct pnp_dev *dev )
{
int i;
next prev parent reply other threads:[~2004-03-15 5:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-15 0:06 [PATCH] PnP Updates for 2.6.4-mm2 Adam Belay
2004-03-15 0:10 ` Adam Belay
2004-03-15 0:15 ` Adam Belay
2004-03-15 0:21 ` Adam Belay [this message]
2004-03-15 0:23 ` Adam Belay
2004-03-15 0:26 ` Adam Belay
2004-03-15 0:27 ` Adam Belay
2004-03-15 0:33 ` Adam Belay
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=20040315002146.GD5972@neo.rr.com \
--to=ambx1@neo.rr.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@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).