Skip to contentSkip to conversation

UBI: mark few variables as __initdata

PATCH New Artem Bityutskiy 1 participant 1 message Jan 6, 2010

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

PATCH 2/3 UBI: mark few variables as __initdata

From: Artem Bityutskiy <[email protected]>

---
 drivers/mtd/ubi/build.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/ubi/build.c +2 -2
index 14cec04..eb8f19f 100644
@@ -59,10 +59,10 @@ struct mtd_dev_param {
 };
 
 /* Numbers of elements set in the @mtd_dev_param array */
-static int mtd_devs;
+static int __initdata mtd_devs;
 
 /* MTD devices specification parameters */
-static struct mtd_dev_param mtd_dev_param[UBI_MAX_DEVICES];
+static struct mtd_dev_param __initdata mtd_dev_param[UBI_MAX_DEVICES];
 
 /* Root UBI "class" object (corresponds to '/<sysfs>/class/ubi/') */
 struct class *ubi_class;
Signature · 1 line
1.6.2.5