]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
mtd: diskonchip: Fix incorrect placement of __initdata
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 12 Aug 2013 09:40:47 +0000 (15:10 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 27 Oct 2013 23:27:07 +0000 (16:27 -0700)
__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>
drivers/mtd/nand/diskonchip.c

index eaa3c29ad860eb7c84a5e1309ef879d9d2044ed1..b68a4959f700af3e2768af69e6dd9afd0f94c8e1 100644 (file)
@@ -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,