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: 19c233b79d1a ("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
..
2016-02-02 10:47:08 -08:00
2017-02-28 11:06:10 +00:00
2015-07-11 18:33:51 -07:00
2014-09-17 10:56:06 -07:00
2016-11-16 12:39:05 -08:00
2015-03-24 15:13:23 -07:00
2017-05-19 10:12:55 +02:00
2014-04-25 08:51:36 -04:00
2015-09-14 15:44:18 -07:00
2016-06-23 14:58:37 -05:00
2016-06-23 14:58:37 -05:00
2016-08-01 18:27:08 -04:00
2016-06-06 11:47:28 -07:00
2016-08-08 11:14:09 -07:00
2017-03-15 14:57:41 -07:00
2016-06-08 10:17:15 -07:00
2014-04-25 08:51:38 -04:00
2016-06-06 11:47:28 -07:00
2017-02-28 11:06:10 +00:00
2017-03-02 08:42:27 +01:00