linux/arch/arm/mach-spear
Arnd Bergmann 0527873b29 ARM: remove duplicate 'const' annotations'
gcc-7 warns about some declarations that are more 'const' than necessary:

arch/arm/mach-at91/pm.c:338:34: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
 static const struct of_device_id const ramc_ids[] __initconst = {
arch/arm/mach-bcm/bcm_kona_smc.c:36:34: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
 static const struct of_device_id const bcm_kona_smc_ids[] __initconst = {
arch/arm/mach-spear/time.c:207:34: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
 static const struct of_device_id const timer_of_match[] __initconst = {
arch/arm/mach-omap2/prm_common.c:714:34: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
 static const struct of_device_id const omap_prcm_dt_match_table[] __initconst = {
arch/arm/mach-omap2/vc.c:562:35: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
 static const struct i2c_init_data const omap4_i2c_timing_data[] __initconst = {

The ones in arch/arm were apparently all introduced accidentally by one
commit that correctly marked a lot of variables as __initconst.

Fixes: 19c233b79d ("ARM: appropriate __init annotation for const data")
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Krzysztof Hałasa <khalasa@piap.pl>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-05-19 10:12:55 +02:00
..
include/mach Update Viresh Kumar's email address 2015-07-17 16:39:53 -07:00
Kconfig ARM: stop *MIGHT_HAVE_PCI* config from being selected redundantly 2016-09-21 22:45:05 +02:00
Makefile ARM: arm-soc: late cleanups 2013-05-07 11:22:14 -07:00
generic.h ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
headsmp.S Shiraz has moved 2014-04-18 16:40:08 -07:00
hotplug.c ARM: Remove __ref on hotplug cpu die path 2015-10-22 09:55:03 -07:00
pl080.c Update Viresh Kumar's email address 2015-07-17 16:39:53 -07:00
pl080.h Update Viresh Kumar's email address 2015-07-17 16:39:53 -07:00
platsmp.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00
restart.c Update Viresh Kumar's email address 2015-07-17 16:39:53 -07:00
spear3xx.c Update Viresh Kumar's email address 2015-07-17 16:39:53 -07:00
spear6xx.c arm: use of_platform_default_populate() to populate 2016-06-23 15:00:39 -05:00
spear13xx.c clocksource: cosmetic: Drop OF 'dependency' from symbols 2015-10-01 02:18:39 +02:00
spear300.c arm: use of_platform_default_populate() to populate 2016-06-23 15:00:39 -05:00
spear310.c arm: use of_platform_default_populate() to populate 2016-06-23 15:00:39 -05:00
spear320.c arm: use of_platform_default_populate() to populate 2016-06-23 15:00:39 -05:00
spear1310.c arm: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:58:37 -05:00
spear1340.c arm: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:58:37 -05:00
time.c ARM: remove duplicate 'const' annotations' 2017-05-19 10:12:55 +02:00