Skip to contentSkip to conversation

block2mtd_paramline[] mustn't be __initdata

PATCH New Adrian Bunk 1 participant 1 message Apr 28, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block2mtd_paramline[] mustn't be __initdata

block2mtd_paramline[] is used in the non-__init block2mtd_setup()

---

This patch has been sent on:
- 25 Mar 2007

drivers/mtd/devices/block2mtd.c renamed from drivers/mtd/devices/block2mtd.c.old +1 -1
@@ -423,7 +423,7 @@
 
 #ifndef MODULE
 static int block2mtd_init_called = 0;
-static __initdata char block2mtd_paramline[80 + 12]; /* 80 for device, 12 for erase size */
+static char block2mtd_paramline[80 + 12]; /* 80 for device, 12 for erase size */
 #endif