summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/diskonchip.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-12 15:10:47 +0530
committerBrian Norris <computersforpeace@gmail.com>2013-10-27 16:27:07 -0700
commit14a95b8a23133f1b21bb3e8b05d24d03ab5722c0 (patch)
tree575743f31778b108e45dc3e6f1071a98160e1d6d /drivers/mtd/nand/diskonchip.c
parente6db7c8484187f8bf6012cbc700f7b62cdc809be (diff)
downloadlinux-14a95b8a23133f1b21bb3e8b05d24d03ab5722c0.tar.gz
linux-14a95b8a23133f1b21bb3e8b05d24d03ab5722c0.tar.bz2
linux-14a95b8a23133f1b21bb3e8b05d24d03ab5722c0.zip
mtd: diskonchip: Fix incorrect placement of __initdata
__initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/diskonchip.c')
-rw-r--r--drivers/mtd/nand/diskonchip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c
index eaa3c29ad860..b68a4959f700 100644
--- a/drivers/mtd/nand/diskonchip.c
+++ b/drivers/mtd/nand/diskonchip.c
@@ -38,7 +38,7 @@
#define CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS 0
#endif
-static unsigned long __initdata doc_locations[] = {
+static unsigned long doc_locations[] __initdata = {
#if defined (__alpha__) || defined(__i386__) || defined(__x86_64__)
#ifdef CONFIG_MTD_NAND_DISKONCHIP_PROBE_HIGH
0xfffc8000, 0xfffca000, 0xfffcc000, 0xfffce000,