Arnd Bergmann
d32ee70260
ARM: remove duplicate 'const' annotations'
commit 0527873b29 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-08 10:14:20 +02:00
..
2017-10-08 10:14:16 +02:00
2016-10-07 15:23:44 +02:00
2017-08-06 19:19:45 -07:00
2017-01-12 11:22:50 +01:00
2017-08-11 09:08:58 -07:00
2017-05-14 13:32:54 +02:00
2017-09-07 08:34:10 +02:00
2017-02-23 17:43:09 +01:00
2017-10-08 10:14:20 +02:00
2017-10-08 10:14:20 +02:00
2015-10-15 21:14:28 +02:00
2017-10-08 10:14:20 +02:00
2017-01-12 11:22:43 +01:00
2015-10-15 22:27:30 +02:00
2015-11-25 14:59:12 +00:00
2016-05-11 11:21:14 +02:00
2015-10-21 19:50:43 -07:00
2016-09-24 10:07:39 +02:00
2015-12-01 23:45:30 +01:00
2015-10-06 09:51:08 -07:00
2015-11-10 14:56:23 -08:00
2015-10-08 17:22:11 +02:00
2016-07-27 09:47:39 -07:00
2015-10-12 10:36:55 -07:00
2017-10-08 10:14:20 +02:00
2015-11-25 15:01:00 +00:00
2016-05-04 14:48:53 -07:00
2017-10-05 09:41:48 +02:00
2015-10-22 09:55:03 -07:00
2016-09-30 10:18:37 +02:00
2015-11-27 10:10:32 +09:00
2016-04-12 09:08:32 -07:00
2016-10-07 15:23:43 +02:00
2016-10-07 15:23:43 +02:00
2016-05-11 11:21:14 +02:00
2017-10-08 10:14:20 +02:00
2015-11-10 14:56:23 -08:00
2015-11-10 14:56:23 -08:00
2015-11-05 13:15:12 -08:00
2015-10-27 09:20:53 +09:00
2017-01-26 08:23:49 +01:00
2015-10-22 09:55:03 -07:00
2015-11-19 16:16:45 +01:00
2017-01-15 13:41:36 +01:00
2017-09-13 14:09:46 -07:00
2016-01-06 01:32:09 -05:00
2015-10-14 17:10:55 +02:00
2017-10-05 09:41:48 +02:00
2016-04-12 09:08:32 -07:00
2015-10-29 15:20:15 +00:00
2017-10-05 09:41:48 +02:00
2015-11-28 23:26:12 +00:00
2017-10-08 10:14:17 +02:00
2016-03-03 15:07:08 -08:00