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