Skip to contentSkip to conversation

__init -> __initdata in drivers/video/matrox/matroxfb_base.c (244ac16)

PATCH In review Rasmus Andersen 2 participants 2 messages May 25, 2001 – May 26, 2001 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 __init -> __initdata in drivers/video/matrox/matroxfb_base.c (244ac16)

Hi.

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

drivers/video/matrox/matroxfb_base.c +1 -1
@@ -2483,7 +2483,7 @@
 	return 0;
 }
 
-static int __init initialized = 0;
+static int __initdata initialized = 0;
 
 int __init matroxfb_init(void)
 {
Signature · 2 lines
Regards,
        Rasmus([email protected])
#1 lore raw

drivers/video/matrox/matroxfb_base.c line 2486

Quoted 8 lines
drivers/video/matrox/matroxfb_base.c +1 -1
@@ -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