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: Barry Song <Baohua.Song@csr.com>
This commit is contained in:
Barry Song 2014-02-18 14:46:29 +08:00
parent 661bfe23a1
commit 8ccf166cef
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ static __init void sirfsoc_map_io(void)
}
#ifdef CONFIG_ARCH_ATLAS6
static const char *atlas6_dt_match[] __initdata = {
static const char *atlas6_dt_match[] __initconst = {
"sirf,atlas6",
NULL
};
@ -42,7 +42,7 @@ MACHINE_END
#endif
#ifdef CONFIG_ARCH_PRIMA2
static const char *prima2_dt_match[] __initdata = {
static const char *prima2_dt_match[] __initconst = {
"sirf,prima2",
NULL
};
@ -58,7 +58,7 @@ MACHINE_END
#endif
#ifdef CONFIG_ARCH_MARCO
static const char *marco_dt_match[] __initdata = {
static const char *marco_dt_match[] __initconst = {
"sirf,marco",
NULL
};