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
..
2017-05-19 00:02:16 -07:00
2017-04-07 11:58:12 +02:00
2017-05-18 23:56:47 -07:00
2017-03-09 18:34:16 +08:00
2017-05-10 20:45:36 -07:00
2017-05-11 11:27:54 -07:00
2017-05-08 12:37:56 -07:00
2017-03-28 16:43:25 -04:00
2017-02-28 11:06:10 +00:00
2017-01-10 22:36:06 +11:00
2017-05-19 10:12:55 +02:00
2017-02-28 11:06:10 +00:00
2017-05-19 10:12:55 +02:00
2017-02-28 11:06:12 +00:00
2017-05-19 10:12:55 +02:00
2017-05-09 09:49:36 -07:00
2017-03-17 15:10:48 +09:00
2017-02-28 11:50:53 -08:00
2016-12-25 11:04:12 +01:00
2017-03-24 22:12:42 +01:00
2017-03-28 15:30:54 +01:00
2017-05-09 10:01:15 -07:00
2016-12-15 15:39:02 -08:00
2016-12-24 11:46:01 -08:00
2017-05-08 17:15:13 -07:00
2017-04-04 08:59:28 -07:00
2016-12-15 15:39:02 -08:00
2017-02-28 11:06:10 +00:00
2017-03-30 17:38:34 +02:00
2017-04-07 10:36:30 +01:00
2017-01-27 17:52:57 +01:00
2017-02-28 11:50:53 -08:00
2017-04-10 21:25:50 +08:00
2017-03-06 10:38:19 -08:00
2017-05-19 10:12:55 +02:00
2017-03-30 17:30:39 +02:00
2017-03-20 10:13:45 +01:00
2017-02-28 11:06:10 +00:00
2017-04-18 11:28:38 -07:00
2017-02-28 11:06:10 +00:00
2017-02-28 11:50:53 -08:00
2017-03-02 08:42:28 +01:00
2017-02-28 11:50:53 -08:00
2017-04-25 16:36:32 +01:00
2017-02-28 11:50:53 -08:00
2017-02-28 11:06:10 +00:00
2017-03-17 10:01:27 +00:00
2017-02-28 11:06:10 +00:00
2017-05-19 10:12:55 +02:00
2017-02-28 11:06:10 +00:00
2017-03-24 11:37:24 +01:00
2017-03-06 07:37:41 +01:00
2017-02-28 11:06:10 +00:00
2017-04-04 15:48:04 +02:00
2017-03-03 16:15:48 -08:00
2017-02-28 11:06:10 +00:00
2017-03-30 17:37:19 +02:00
2017-02-28 11:06:10 +00:00
2017-02-28 11:06:10 +00:00
2017-05-09 15:15:47 -07:00
2017-05-08 17:15:13 -07:00
2017-03-03 01:43:37 +01:00
2016-12-25 11:04:12 +01:00
2017-03-30 17:30:39 +02:00
2017-03-28 21:37:48 +05:30
2017-04-07 11:57:57 +02:00
2017-03-21 16:24:19 +00:00
2017-03-10 10:15:15 +00:00
2017-03-02 08:42:29 +01:00
2017-05-02 12:06:50 +02:00
2017-05-09 09:49:36 -07:00
2017-01-10 23:32:54 +00:00
2017-02-07 12:32:52 -08:00
2017-03-20 22:42:20 +09:00