public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] __init -> __initdata in drivers/video/matrox/matroxfb_base.c (244ac16)
@ 2001-05-25 21:11 Rasmus Andersen
  2001-05-26  1:09 ` Andrzej Krzysztofowicz
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus Andersen @ 2001-05-25 21:11 UTC (permalink / raw)
  To: vandrove; +Cc: linux-kernel

Hi.

The following patch changes an __init to __initdata. Applies against
2.4.4-ac11.


--- linux-244-ac11-clean/drivers/video/matrox/matroxfb_base.c	Sat May 19 20:58:43 2001
+++ linux-244-ac11/drivers/video/matrox/matroxfb_base.c	Sun May 20 23:55:24 2001
@@ -2483,7 +2483,7 @@
 	return 0;
 }
 
-static int __init initialized = 0;
+static int __initdata initialized = 0;
 
 int __init matroxfb_init(void)
 {

-- 
Regards,
        Rasmus(rasmus@jaquet.dk)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] __init -> __initdata in drivers/video/matrox/matroxfb_base.c (244ac16)
  2001-05-25 21:11 [PATCH] __init -> __initdata in drivers/video/matrox/matroxfb_base.c (244ac16) Rasmus Andersen
@ 2001-05-26  1:09 ` Andrzej Krzysztofowicz
  0 siblings, 0 replies; 2+ messages in thread
From: Andrzej Krzysztofowicz @ 2001-05-26  1:09 UTC (permalink / raw)
  To: Rasmus Andersen
  Cc: kufel!vc.cvut.cz!vandrove, kufel!vger.kernel.org!linux-kernel

> --- linux-244-ac11-clean/drivers/video/matrox/matroxfb_base.c	Sat May 19 20:58:43 2001
> +++ linux-244-ac11/drivers/video/matrox/matroxfb_base.c	Sun May 20 23:55:24 2001
> @@ -2483,7 +2483,7 @@
>  	return 0;
>  }
>  
> -static int __init initialized = 0;
> +static int __initdata initialized = 0;

It should be 

static int initialized __initdata = 0;

Andrzej


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-26  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-25 21:11 [PATCH] __init -> __initdata in drivers/video/matrox/matroxfb_base.c (244ac16) Rasmus Andersen
2001-05-26  1:09 ` Andrzej Krzysztofowicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox