mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
e6db7c8484
commit
14a95b8a23
|
@ -38,7 +38,7 @@
|
||||||
#define CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS 0
|
#define CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static unsigned long __initdata doc_locations[] = {
|
static unsigned long doc_locations[] __initdata = {
|
||||||
#if defined (__alpha__) || defined(__i386__) || defined(__x86_64__)
|
#if defined (__alpha__) || defined(__i386__) || defined(__x86_64__)
|
||||||
#ifdef CONFIG_MTD_NAND_DISKONCHIP_PROBE_HIGH
|
#ifdef CONFIG_MTD_NAND_DISKONCHIP_PROBE_HIGH
|
||||||
0xfffc8000, 0xfffca000, 0xfffcc000, 0xfffce000,
|
0xfffc8000, 0xfffca000, 0xfffcc000, 0xfffce000,
|
||||||
|
|
Loading…
Reference in New Issue