* [PATCH] pnp/system.c: 2 functions not __init
@ 2004-03-08 4:04 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2004-03-08 4:04 UTC (permalink / raw)
To: ambx1; +Cc: lkml
Hi,
Please apply to 2.6.4-rc2.
--
~Randy
// 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-08 4:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-08 4:04 [PATCH] pnp/system.c: 2 functions not __init Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®