aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2014-02-18 01:46:29 -0500
committerBarry Song <Baohua.Song@csr.com>2014-03-04 21:23:07 -0500
commit8ccf166cef274c4e16bc2965115fb53469f32939 (patch)
tree1c211c28b9555506c1bcc6aea915f7e81ff29927 /arch/arm/mach-prima2
parent661bfe23a16dec9ce64a5eb9ed3b4702d536cda7 (diff)
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>
Diffstat (limited to 'arch/arm/mach-prima2')
-rw-r--r--arch/arm/mach-prima2/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-prima2/common.c b/arch/arm/mach-prima2/common.c
index d49aff74de98..6926dbcef4b1 100644
--- a/arch/arm/mach-prima2/common.c
+++ b/arch/arm/mach-prima2/common.c
@@ -27,7 +27,7 @@ static __init void sirfsoc_map_io(void)
27} 27}
28 28
29#ifdef CONFIG_ARCH_ATLAS6 29#ifdef CONFIG_ARCH_ATLAS6
30static const char *atlas6_dt_match[] __initdata = { 30static const char *atlas6_dt_match[] __initconst = {
31 "sirf,atlas6", 31 "sirf,atlas6",
32 NULL 32 NULL
33}; 33};
@@ -42,7 +42,7 @@ MACHINE_END
42#endif 42#endif
43 43
44#ifdef CONFIG_ARCH_PRIMA2 44#ifdef CONFIG_ARCH_PRIMA2
45static const char *prima2_dt_match[] __initdata = { 45static const char *prima2_dt_match[] __initconst = {
46 "sirf,prima2", 46 "sirf,prima2",
47 NULL 47 NULL
48}; 48};
@@ -58,7 +58,7 @@ MACHINE_END
58#endif 58#endif
59 59
60#ifdef CONFIG_ARCH_MARCO 60#ifdef CONFIG_ARCH_MARCO
61static const char *marco_dt_match[] __initdata = { 61static const char *marco_dt_match[] __initconst = {
62 "sirf,marco", 62 "sirf,marco",
63 NULL 63 NULL
64}; 64};