diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-02-12 17:54:36 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-13 20:34:07 -0500 |
commit | d679a529a476e4909ae8603b7bd9c9b9611d42e3 (patch) | |
tree | c0759ae174965c91e980d05fca65550cc6b58621 /arch/arm/mach-omap2/emif-common.c | |
parent | e48be29ef3939ecfca76ddc1667d15811057246b (diff) |
arm: omap2: Fix compiler warning
Fix build warning in arch/arm/mach-omap2/emif-common.c and
arch/arm/mach-omap2/omap4/emif.c with gcc 7.3.0:
warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-omap2/emif-common.c')
-rw-r--r-- | arch/arm/mach-omap2/emif-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c index e3ef37b077..d6c56b0ae8 100644 --- a/arch/arm/mach-omap2/emif-common.c +++ b/arch/arm/mach-omap2/emif-common.c @@ -599,7 +599,7 @@ s8 addressing_table_index(u8 type, u8 density, u8 width) * tables of the device using DDR clock frequency */ static const struct lpddr2_ac_timings *get_timings_table(const struct - lpddr2_ac_timings const *const *device_timings, + lpddr2_ac_timings *const *device_timings, u32 freq) { u32 i, temp, freq_nearest; |