diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-05-02 07:33:17 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-05-02 07:33:17 -0400 |
commit | 4839f0481d8b985aabd6653ba42cf09e2abcc2bd (patch) | |
tree | 58c92e608f3acdc5a467de64ffbb4f83dcfa07cb /drivers/mtd/devices | |
parent | 048c37b4907ecf0e55100365e20758667f0bd27d (diff) |
[MTD] block2mtd_paramline[] mustn't be __initdata
block2mtd_paramline[] is used in the non-__init block2mtd_setup()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Joern Engel <joern@lazybastard.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r-- | drivers/mtd/devices/block2mtd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c index ce47544dc120..4070720561fd 100644 --- a/drivers/mtd/devices/block2mtd.c +++ b/drivers/mtd/devices/block2mtd.c | |||
@@ -375,7 +375,7 @@ static inline void kill_final_newline(char *str) | |||
375 | 375 | ||
376 | #ifndef MODULE | 376 | #ifndef MODULE |
377 | static int block2mtd_init_called = 0; | 377 | static int block2mtd_init_called = 0; |
378 | static __initdata char block2mtd_paramline[80 + 12]; /* 80 for device, 12 for erase size */ | 378 | static char block2mtd_paramline[80 + 12]; /* 80 for device, 12 for erase size */ |
379 | #endif | 379 | #endif |
380 | 380 | ||
381 | 381 | ||