linux-sg2042/arch/arm/mach-omap2
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: 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>
2017-05-19 10:12:55 +02:00
..
include/mach
Kconfig ARM: AM43XX: Select OMAP_INTERCONNECT in Kconfig 2016-11-07 16:20:04 -07:00
Makefile ARM: OMAP2+: Remove legacy gpmc-nand.c 2017-02-28 09:08:33 -08:00
am33xx-restart.c
am33xx.h
board-generic.c ARM: omap2+: am437x: rollback to use omap3_gptimer_timer_init() 2016-12-27 09:38:04 -08:00
board-n8x0.c format-security: move static strings to const 2017-05-08 17:15:14 -07:00
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clkt2xxx_virt_prcm_set.c
clock.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clock.h clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clock2xxx.h
clock3xxx.h
clockdomain.c ARM: OMAP2+: clockdomain: add usecounting support to autoidle APIs 2016-07-04 07:15:38 -07:00
clockdomain.h ARM: OMAP2+: clockdomain: add usecounting support to autoidle APIs 2016-07-04 07:15:38 -07:00
clockdomains2xxx_3xxx_data.c
clockdomains3xxx_data.c
clockdomains7xx_data.c ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP 2017-04-28 10:23:20 -05:00
clockdomains33xx_data.c
clockdomains43xx_data.c
clockdomains44xx_data.c
clockdomains54xx_data.c
clockdomains81xx_data.c ARM: OMAP2+: dm81xx: Add clkdm and hwmod for SATA 2017-03-28 14:10:03 -07:00
clockdomains2420_data.c
clockdomains2430_data.c
cm-regbits-7xx.h
cm-regbits-24xx.h
cm-regbits-33xx.h
cm-regbits-34xx.h
cm-regbits-44xx.h
cm-regbits-54xx.h
cm.h clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
cm1_7xx.h
cm1_44xx.h
cm1_54xx.h
cm2_7xx.h
cm2_44xx.h
cm2_54xx.h
cm2xxx.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
cm2xxx.h
cm2xxx_3xxx.h
cm3xxx.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
cm3xxx.h
cm33xx.c ARM: OMAP4+: CM: Remove redundant checks for clkctrl_offs of zero 2016-07-22 23:10:57 -07:00
cm33xx.h
cm44xx.h
cm81xx.h ARM: OMAP2+: dm81xx: Add clkdm and hwmod for SATA 2017-03-28 14:10:03 -07:00
cm_common.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
cminst44xx.c ARM: OMAP4+: CM: Remove redundant checks for clkctrl_offs of zero 2016-07-22 23:10:57 -07:00
common-board-devices.h ARM: OMAP2+: Drop legacy ads7846 init 2016-11-10 15:46:13 -07:00
common.c
common.h ARM: omap2+: make omap4_get_cpu1_ns_pa_addr declaration usable 2017-05-09 21:13:25 +02:00
control.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00
control.h
cpuidle34xx.c
cpuidle44xx.c ARM: OMAP5: Add basic cpuidle MPU CSWR support 2016-11-07 16:52:14 -07:00
ctrl_module_wkup_44xx.h
devices.c ARM: OMAP2+: mark omap_init_rng as __init 2017-03-28 14:10:09 -07:00
display.c ARM: OMAP2+: Make the omapdss_find_dss_of_node() function static 2017-01-05 08:58:37 -08:00
display.h ARM: OMAP2+: Make the omapdss_find_dss_of_node() function static 2017-01-05 08:58:37 -08:00
dma.c
drm.c ARM: OMAP2+: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:42:35 -07:00
fb.c ARM: OMAP2+: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:42:35 -07:00
gpmc-onenand.c ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure 2017-02-28 09:06:23 -08:00
gpmc.h
hdq1w.c
hdq1w.h
hsmmc.c ARM: OMAP2+: Remove legacy mux code 2016-11-10 12:42:49 -07:00
hsmmc.h ARM: OMAP2+: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:42:35 -07:00
i2c.c ARM: OMAP2+: Remove legacy i2c.c platform init code 2016-11-10 08:53:30 -07:00
i2c.h
id.c ARM: OMAP3: Fix SoC detection of OMAP36/37 Family 2017-01-20 10:13:06 -08:00
id.h
io.c Legacy platform_data removal for omaps for v4.10 merge window. 2016-11-18 16:49:23 -08:00
iomap.h
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
mcbsp.c ARM: OMAP2+: McBSP: Remove the old iclk allow/deny idle code 2016-06-10 05:07:25 -07:00
mmc.h
msdi.c ARM: OMAP2+: Remove legacy mux code 2016-11-10 12:42:49 -07:00
omap-headsmp.S ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build 2017-02-16 13:12:15 -08:00
omap-hotplug.c ARM: omap2+: Revert omap-smp.c changes resetting CPU1 during boot 2017-03-27 10:10:42 -07:00
omap-mpuss-lowpower.c ARM: omap2+: make omap4_get_cpu1_ns_pa_addr declaration usable 2017-05-09 21:13:25 +02:00
omap-pm-noop.c
omap-pm.h
omap-secure.c
omap-secure.h ARM: OMAP5 / DRA7: Introduce workaround for 801819 2016-05-12 10:14:54 -07:00
omap-smc.S ARM: omap2+: Revert omap-smp.c changes resetting CPU1 during boot 2017-03-27 10:10:42 -07:00
omap-smp.c ARM: omap2+: make omap4_get_cpu1_ns_pa_addr declaration usable 2017-05-09 21:13:25 +02:00
omap-wakeupgen.c ARM/OMAP/wakeupgen: Convert to hotplug state machine 2016-09-19 21:44:26 +02:00
omap-wakeupgen.h
omap2-restart.c
omap3-restart.c
omap4-common.c ARM: OMAP4+: Initialize SAR RAM base early for proper CPU1 reset for kexec 2016-06-22 22:55:47 -07:00
omap4-restart.c
omap4-sar-layout.h ARM: OMAP5: Fix mpuss_early_init 2016-11-07 16:51:58 -07:00
omap24xx.h
omap34xx.h
omap44xx.h
omap54xx.h
omap_device.c ARM: OMAP2+: omap_device: Sync omap_device and pm_runtime after probe defer 2017-04-04 08:49:56 -07:00
omap_device.h
omap_hwmod.c ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO 2017-03-23 13:19:59 -07:00
omap_hwmod.h ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO 2017-03-23 13:19:59 -07:00
omap_hwmod_2xxx_3xxx_interconnect_data.c ARM: OMAP2+: Remove legacy data from hwmod for omap3 2016-11-10 14:03:19 -07:00
omap_hwmod_2xxx_3xxx_ipblock_data.c ARM: OMAP2+: Remove legacy data from hwmod for omap3 2016-11-10 14:03:19 -07:00
omap_hwmod_2xxx_interconnect_data.c ARM: OMAP2+: Remove legacy data from hwmod for omap3 2016-11-10 14:03:19 -07:00
omap_hwmod_2xxx_ipblock_data.c ARM: OMAP2+: Remove unused CLOCKACT_TEST_ICLK 2017-03-14 13:13:19 -07:00
omap_hwmod_3xxx_data.c ARM: SoC platform updates 2017-05-09 09:49:36 -07:00
omap_hwmod_7xx_data.c ARM: DRA7: hwmod_data: Prevent wait_target_disable error for usb_otg_ss 2017-03-28 14:09:58 -07:00
omap_hwmod_33xx_43xx_common_data.h ARM: AMx3xx: hwmod: Add data for RNG 2016-11-09 15:39:41 -07:00
omap_hwmod_33xx_43xx_interconnect_data.c ARM: AMx3xx: hwmod: Add data for RNG 2016-11-09 15:39:41 -07:00
omap_hwmod_33xx_43xx_ipblock_data.c ARM: AMx3xx: hwmod: Add data for RNG 2016-11-09 15:39:41 -07:00
omap_hwmod_33xx_data.c ARM: AMx3xx: hwmod: Add data for RNG 2016-11-09 15:39:41 -07:00
omap_hwmod_43xx_data.c ARM: AMx3xx: hwmod: Add data for RNG 2016-11-09 15:39:41 -07:00
omap_hwmod_44xx_data.c ARM: OMAP2+: Remove unused CLOCKACT_TEST_ICLK 2017-03-14 13:13:19 -07:00
omap_hwmod_54xx_data.c ARM: OMAP2+: Remove unused CLOCKACT_TEST_ICLK 2017-03-14 13:13:19 -07:00
omap_hwmod_81xx_data.c ARM: OMAP2+: dm81xx: Add clkdm and hwmod for SATA 2017-03-28 14:10:03 -07:00
omap_hwmod_2420_data.c
omap_hwmod_2430_data.c
omap_hwmod_common_data.c
omap_hwmod_common_data.h ARM: OMAP2+: Remove legacy gpio code 2016-11-23 08:22:10 -08:00
omap_hwmod_common_ipblock_data.c
omap_hwmod_reset.c ARM: OMAP2+: hwmod: RTC: Add lock and unlock functions 2016-04-10 13:20:10 -06:00
omap_opp_data.h
omap_phy_internal.c
omap_twl.c scripts/spelling.txt: add "intialization" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
opp.c
opp2xxx.h
opp3xxx_data.c
opp4xxx_data.c
opp2420_data.c
opp2430_data.c
pdata-quirks.c ARM: SoC non-urgent fixes for merge window 2017-02-23 15:28:04 -08:00
pm-debug.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/clock.h> 2017-03-02 08:42:27 +01:00
pm.c ARM: OMAP: PM: Drop useless checks for PM_SUSPEND_STANDBY 2017-03-06 10:38:19 -08:00
pm.h
pm24xx.c
pm34xx.c ARM: OMAP3: Fix external abort on 36xx waking from off mode idle 2016-04-14 08:27:30 -07:00
pm44xx.c ARM: OMAP5: Add basic cpuidle MPU CSWR support 2016-11-07 16:52:14 -07:00
pmu.c
powerdomain-common.c
powerdomain.c ARM: SoC platform updates for v4.8 2016-08-01 18:27:08 -04:00
powerdomain.h
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c
powerdomains7xx_data.c ARM: OMAP: DRA7: powerdomain data: Remove unused pwrsts_mem_ret 2016-06-13 01:04:01 -07:00
powerdomains33xx_data.c
powerdomains43xx_data.c
powerdomains44xx_data.c
powerdomains54xx_data.c
prcm-common.h
prcm43xx.h ARM: AMx3xx: hwmod: Add data for RNG 2016-11-09 15:39:41 -07:00
prcm44xx.h
prcm_mpu7xx.h
prcm_mpu44xx.c
prcm_mpu44xx.h
prcm_mpu54xx.h
prcm_mpu_44xx_54xx.h
prm-regbits-24xx.h
prm-regbits-33xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h
prm2xxx.c
prm2xxx.h
prm2xxx_3xxx.c
prm2xxx_3xxx.h
prm3xxx.c ARM: OMAP2+: PRM: initialize en_uart4_mask and grpsel_uart4_mask 2016-11-07 16:21:53 -07:00
prm3xxx.h
prm7xx.h
prm33xx.c
prm33xx.h ARM: dts: am43xx: Remove wrongly defined RSTST offset for PER Domain 2016-06-22 03:33:25 -07:00
prm44xx.c
prm44xx.h
prm44xx_54xx.h
prm54xx.h
prm_common.c ARM: remove duplicate 'const' annotations' 2017-05-19 10:12:55 +02:00
prminst44xx.c
prminst44xx.h
scrm44xx.h
scrm54xx.h
sdrc.c
sdrc.h ARM: OMAP2+: Fix typo in sdrc.h 2016-06-10 04:17:07 -07:00
sdrc2xxx.c
serial.h
sleep24xx.S
sleep34xx.S
sleep44xx.S
smartreflex-class3.c
soc.h ARM: SoC platform updates for v4.7 2016-05-18 12:35:46 -07:00
sr_device.c
sram.c
sram.h
sram242x.S
sram243x.S
ti81xx-restart.c
ti81xx.h
timer.c ARM: omap2+: am437x: rollback to use omap3_gptimer_timer_init() 2016-12-27 09:38:04 -08:00
usb-tusb6010.c ARM: OMAP2+: Remove legacy muxing for usb-tusb6010.c 2016-11-10 12:42:15 -07:00
usb.h
vc.c ARM: remove duplicate 'const' annotations' 2017-05-19 10:12:55 +02:00
vc.h
vc3xxx_data.c
vc44xx_data.c
voltage.c ARM: OMAP2+: avoid NULL pointer dereference 2016-11-07 16:24:53 -07:00
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c
voltagedomains44xx_data.c
voltagedomains54xx_data.c
vp.c
vp.h
vp3xxx_data.c
vp44xx_data.c
wd_timer.c
wd_timer.h