Commit 8ccf166c authored by Barry Song's avatar Barry Song

ARM: prima2: common: fix checkpatch issues

fix the below checkpatch issues:
ERROR: Use of const init definition must use __initconst
30: FILE: common.c:30:
+static const char *atlas6_dt_match[] __initdata = {

ERROR: Use of const init definition must use __initconst
45: FILE: common.c:45:
+static const char *prima2_dt_match[] __initdata = {

ERROR: Use of const init definition must use __initconst
61: FILE: common.c:61:
+static const char *marco_dt_match[] __initdata = {
Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
parent 661bfe23
...@@ -27,7 +27,7 @@ static __init void sirfsoc_map_io(void) ...@@ -27,7 +27,7 @@ static __init void sirfsoc_map_io(void)
} }
#ifdef CONFIG_ARCH_ATLAS6 #ifdef CONFIG_ARCH_ATLAS6
static const char *atlas6_dt_match[] __initdata = { static const char *atlas6_dt_match[] __initconst = {
"sirf,atlas6", "sirf,atlas6",
NULL NULL
}; };
...@@ -42,7 +42,7 @@ MACHINE_END ...@@ -42,7 +42,7 @@ MACHINE_END
#endif #endif
#ifdef CONFIG_ARCH_PRIMA2 #ifdef CONFIG_ARCH_PRIMA2
static const char *prima2_dt_match[] __initdata = { static const char *prima2_dt_match[] __initconst = {
"sirf,prima2", "sirf,prima2",
NULL NULL
}; };
...@@ -58,7 +58,7 @@ MACHINE_END ...@@ -58,7 +58,7 @@ MACHINE_END
#endif #endif
#ifdef CONFIG_ARCH_MARCO #ifdef CONFIG_ARCH_MARCO
static const char *marco_dt_match[] __initdata = { static const char *marco_dt_match[] __initconst = {
"sirf,marco", "sirf,marco",
NULL NULL
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment