mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
0527873b29
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:
|
||
---|---|---|
.. | ||
bcm63xx_pmb.c | ||
bcm63xx_smp.c | ||
bcm63xx_smp.h | ||
bcm63xx.c | ||
bcm_5301x.c | ||
bcm_cygnus.c | ||
bcm_kona_smc.c | ||
bcm_kona_smc.h | ||
bcm_nsp.c | ||
board_bcm281xx.c | ||
board_bcm2835.c | ||
board_bcm21664.c | ||
board_bcm23550.c | ||
brcmstb.c | ||
Kconfig | ||
kona_l2_cache.c | ||
kona_l2_cache.h | ||
Makefile | ||
platsmp-brcmstb.c | ||
platsmp.c |